Searched refs:with_notes (Results 1 – 7 of 7) sorted by relevance
101 .with_notes(vec![ in main()110 .with_notes(vec!["consider using a wildcard pattern: `_`".to_owned()]), in main()120 .with_notes(vec![unindent::unindent( in main()137 .with_notes(vec![unindent::unindent( in main()160 .with_notes(vec![unindent::unindent( in main()
180 .with_notes(vec![ in to_diagnostic()194 .with_notes(vec!["ridiculous!".to_owned()]), in to_diagnostic()
62 .with_notes(vec![format!("expected: {}", error.expected)]); in main()
72 .with_notes(vec![unindent::unindent( in main()
160 .with_notes(vec![296 .with_notes(vec![304 .with_notes(vec![358 Diagnostic::error().with_message("a message").with_notes(vec!["a note".to_owned()]),359 … Diagnostic::warning().with_message("a message").with_notes(vec!["a note".to_owned()]),360 Diagnostic::note().with_message("a message").with_notes(vec!["a note".to_owned()]),361 Diagnostic::help().with_message("a message").with_notes(vec!["a note".to_owned()]),519 .with_notes(vec![526 .with_notes(vec!["consider using a wildcard pattern: `_`".to_owned()]),535 .with_notes(vec![unindent::unindent([all …]
205 pub fn with_notes(mut self, mut notes: Vec<String>) -> Diagnostic<FileId> { in with_notes() method
20 - `Diagnostic::with_labels` and `Diagnostic::with_notes` now append additional