Home
last modified time | relevance | path

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

/third_party/rust/crates/codespan/codespan-reporting/tests/
Dterm.rs147 .with_notes(vec![
282 .with_notes(vec![
290 .with_notes(vec![
342 Diagnostic::error().with_message("a message").with_notes(vec!["a note".to_owned()]),
343 … Diagnostic::warning().with_message("a message").with_notes(vec!["a note".to_owned()]),
344 Diagnostic::note().with_message("a message").with_notes(vec!["a note".to_owned()]),
345 Diagnostic::help().with_message("a message").with_notes(vec!["a note".to_owned()]),
499 .with_notes(vec![
506 .with_notes(vec!["consider using a wildcard pattern: `_`".to_owned()]),
515 .with_notes(vec![unindent::unindent(
[all …]
/third_party/rust/crates/codespan/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()
/third_party/rust/crates/codespan/codespan-reporting/src/
Ddiagnostic.rs205 pub fn with_notes(mut self, notes: Vec<String>) -> Diagnostic<FileId> { in with_notes() method
/third_party/rust/crates/codespan/
DREADME.md83 .with_notes(vec![unindent::unindent(