rust/crates/rust-analyzer/test_data/handles_macro_location.txt

33 lines
858 B
Plaintext
Raw Normal View History

[
MappedRustDiagnostic {
2020-07-09 08:35:52 -05:00
url: "file:///test/src/main.rs",
diagnostic: Diagnostic {
range: Range {
start: Position {
line: 1,
character: 4,
},
end: Position {
line: 1,
character: 26,
},
2019-12-25 10:31:49 -06:00
},
severity: Some(
Error,
2019-12-25 10:31:49 -06:00
),
code: Some(
String(
"E0277",
),
),
source: Some(
"rustc",
),
message: "can\'t compare `{integer}` with `&str`\nthe trait `std::cmp::PartialEq<&str>` is not implemented for `{integer}`",
related_information: None,
tags: None,
},
fixes: [],
2019-12-25 10:31:49 -06:00
},
]