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