Home
last modified time | relevance | path

Searched defs:DiagnosticStyledString (Results 1 – 2 of 2) sorted by relevance

/third_party/rust/rust/compiler/rustc_errors/src/
Ddiagnostic.rs168 pub struct DiagnosticStyledString(pub Vec<StringPart>); struct
170 impl DiagnosticStyledString { impl
187 pub fn normal<S: Into<String>>(t: S) -> DiagnosticStyledString { in normal()
191 pub fn highlighted<S: Into<String>>(t: S) -> DiagnosticStyledString { in highlighted()
380 expected: DiagnosticStyledString, in note_expected_found()
382 found: DiagnosticStyledString, in note_expected_found()
389 expected: DiagnosticStyledString, in note_unsuccessful_coercion()
390 found: DiagnosticStyledString, in note_unsuccessful_coercion()
413 expected: DiagnosticStyledString, in note_expected_found_extra()
415 found: DiagnosticStyledString, in note_expected_found_extra()
/third_party/rust/rust/compiler/rustc_infer/src/infer/error_reporting/
Dmod.rs908 value: &mut DiagnosticStyledString, in highlight_outer()
909 other_value: &mut DiagnosticStyledString, in highlight_outer()
982 mut t1_out: &mut DiagnosticStyledString, in cmp_type_arg()
983 mut t2_out: &mut DiagnosticStyledString, in cmp_type_arg()
1011 value: &mut DiagnosticStyledString, in push_comma()
1012 other_value: &mut DiagnosticStyledString, in push_comma()
1027 ) -> (DiagnosticStyledString, DiagnosticStyledString) { in cmp_fn_sig()
1140 ) -> (DiagnosticStyledString, DiagnosticStyledString) { in cmp()
1165 s: &mut DiagnosticStyledString, in cmp()
2138 ) -> Option<(DiagnosticStyledString, DiagnosticStyledString, Option<PathBuf>, Option<PathBuf>)> in values_str()
[all …]