]> git.lizzy.rs Git - rust.git/blob - crates/rust-analyzer/src/diagnostics/test_data/handles_macro_location.txt
Merge #6365
[rust.git] / crates / rust-analyzer / src / diagnostics / test_data / handles_macro_location.txt
1 [
2     MappedRustDiagnostic {
3         url: "file:///test/src/main.rs",
4         diagnostic: Diagnostic {
5             range: Range {
6                 start: Position {
7                     line: 1,
8                     character: 4,
9                 },
10                 end: Position {
11                     line: 1,
12                     character: 26,
13                 },
14             },
15             severity: Some(
16                 Error,
17             ),
18             code: Some(
19                 String(
20                     "E0277",
21                 ),
22             ),
23             code_description: None,
24             source: Some(
25                 "rustc",
26             ),
27             message: "can\'t compare `{integer}` with `&str`\nthe trait `std::cmp::PartialEq<&str>` is not implemented for `{integer}`",
28             related_information: None,
29             tags: None,
30             data: None,
31         },
32         fixes: [],
33     },
34 ]