Home
last modified time | relevance | path

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

/external/rust/crates/codespan-reporting/tests/
Dterm.rs148 .with_code("E0499")
257 .with_code("E0666")
266 .with_code("E0121")
275 .with_code("E0121")
286 .with_code("E0277")
385 Diagnostic::error().with_message("a message").with_code("E0001"),
386 Diagnostic::warning().with_message("a message").with_code("W001"),
387 Diagnostic::note().with_message("a message").with_code("N0815"),
388 Diagnostic::help().with_message("a message").with_code("H4711"),
389 Diagnostic::error().with_message("where did my errorcode go?").with_code(""),
[all …]
/external/rust/crates/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()
/external/rust/crates/codespan-reporting/src/
Ddiagnostic.rs187 pub fn with_code(mut self, code: impl Into<String>) -> Diagnostic<FileId> { in with_code() method