Home
last modified time | relevance | path

Searched refs:with_code (Results 1 – 6 of 6) sorted by relevance

/third_party/rust/crates/codespan/codespan-reporting/tests/
Dterm.rs135 .with_code("E0499")
243 .with_code("E0666")
252 .with_code("E0121")
261 .with_code("E0121")
272 .with_code("E0277")
368 Diagnostic::error().with_message("a message").with_code("E0001"),
369 Diagnostic::warning().with_message("a message").with_code("W001"),
370 Diagnostic::note().with_message("a message").with_code("N0815"),
371 Diagnostic::help().with_message("a message").with_code("H4711"),
372 Diagnostic::error().with_message("where did my errorcode go?").with_code(""),
[all …]
/third_party/rust/crates/codespan/codespan-reporting/examples/
Dterm.rs114 .with_code("E0001") in main()
129 .with_code("E0308") in main()
146 .with_code("E0308") in main()
Dreusable_diagnostic.rs61 .with_code("E0308") in report()
71 .with_code("E0384") in report()
Dreadme_preview.rs63 .with_code("E0308") in main()
/third_party/rust/crates/codespan/codespan-reporting/src/
Ddiagnostic.rs187 pub fn with_code(mut self, code: impl Into<String>) -> Diagnostic<FileId> { in with_code() method
/third_party/rust/crates/codespan/
DREADME.md74 .with_code("E0308")