Lines Matching defs:Error
102 pub struct Error { struct
103 messages: Vec<ErrorMessage>, argument
129 impl Error { impl
163 fn new(span: Span, message: String) -> Error { in new()
194 fn new_spanned(tokens: TokenStream, message: String) -> Error { in new_spanned()
272 pub fn combine(&mut self, another: Error) { in combine()
329 pub(crate) fn new_at<T: Display>(scope: Span, cursor: Cursor, message: T) -> Error { in new_at()
339 pub(crate) fn new2<T: Display>(start: Span, end: Span, message: T) -> Error { in new2()
342 fn new2(start: Span, end: Span, message: String) -> Error { in new2()
352 impl Debug for Error { implementation
374 impl Display for Error { implementation
380 impl Clone for Error { implementation
405 impl std::error::Error for Error {} implementation
407 impl From<LexError> for Error { implementation
413 impl IntoIterator for Error { implementation
438 impl<'a> IntoIterator for &'a Error { implementation
463 impl Extend<Error> for Error { implementation