diff options
Diffstat (limited to 'crates/rust-analyzer/test_data/macro_compiler_error.txt')
-rw-r--r-- | crates/rust-analyzer/test_data/macro_compiler_error.txt | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/crates/rust-analyzer/test_data/macro_compiler_error.txt b/crates/rust-analyzer/test_data/macro_compiler_error.txt new file mode 100644 index 000000000..f695db73c --- /dev/null +++ b/crates/rust-analyzer/test_data/macro_compiler_error.txt | |||
@@ -0,0 +1,47 @@ | |||
1 | [ | ||
2 | MappedRustDiagnostic { | ||
3 | url: "file:///test/crates/ra_hir_def/src/data.rs", | ||
4 | diagnostic: Diagnostic { | ||
5 | range: Range { | ||
6 | start: Position { | ||
7 | line: 79, | ||
8 | character: 15, | ||
9 | }, | ||
10 | end: Position { | ||
11 | line: 79, | ||
12 | character: 41, | ||
13 | }, | ||
14 | }, | ||
15 | severity: Some( | ||
16 | Error, | ||
17 | ), | ||
18 | code: None, | ||
19 | source: Some( | ||
20 | "rustc", | ||
21 | ), | ||
22 | message: "Please register your known path in the path module", | ||
23 | related_information: Some( | ||
24 | [ | ||
25 | DiagnosticRelatedInformation { | ||
26 | location: Location { | ||
27 | uri: "file:///test/crates/ra_hir_def/src/path.rs", | ||
28 | range: Range { | ||
29 | start: Position { | ||
30 | line: 264, | ||
31 | character: 8, | ||
32 | }, | ||
33 | end: Position { | ||
34 | line: 264, | ||
35 | character: 76, | ||
36 | }, | ||
37 | }, | ||
38 | }, | ||
39 | message: "Error originated from macro here", | ||
40 | }, | ||
41 | ], | ||
42 | ), | ||
43 | tags: None, | ||
44 | }, | ||
45 | fixes: [], | ||
46 | }, | ||
47 | ] | ||