Lines Matching defs:Error
100 pub struct Error { struct
101 messages: Vec<ErrorMessage>, argument
127 impl Error { impl
161 fn new(span: Span, message: String) -> Error { in new()
192 fn new_spanned(tokens: TokenStream, message: String) -> Error { in new_spanned()
270 pub fn combine(&mut self, another: Error) { in combine()
327 pub(crate) fn new_at<T: Display>(scope: Span, cursor: Cursor, message: T) -> Error { in new_at()
337 pub(crate) fn new2<T: Display>(start: Span, end: Span, message: T) -> Error { in new2()
340 fn new2(start: Span, end: Span, message: String) -> Error { in new2()
350 impl Debug for Error { implementation
372 impl Display for Error { implementation
378 impl Clone for Error { implementation
403 impl std::error::Error for Error {} implementation
405 impl From<LexError> for Error { implementation
411 impl IntoIterator for Error { implementation
436 impl<'a> IntoIterator for &'a Error { implementation
461 impl Extend<Error> for Error { implementation