Home
last modified time | relevance | path

Searched refs:with_notes (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/codespan-reporting/examples/
Dterm.rs101 .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()
Dcustom_files.rs180 .with_notes(vec![ in to_diagnostic()
194 .with_notes(vec!["ridiculous!".to_owned()]), in to_diagnostic()
Dpeg_calculator.rs62 .with_notes(vec![format!("expected: {}", error.expected)]); in main()
Dreadme_preview.rs72 .with_notes(vec![unindent::unindent( in main()
/external/rust/crates/codespan-reporting/tests/
Dterm.rs160 .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 …]
/external/rust/crates/codespan-reporting/src/
Ddiagnostic.rs205 pub fn with_notes(mut self, mut notes: Vec<String>) -> Diagnostic<FileId> { in with_notes() method
/external/rust/crates/codespan-reporting/
DCHANGELOG.md20 - `Diagnostic::with_labels` and `Diagnostic::with_notes` now append additional