diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-03-31 16:30:23 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-31 16:30:23 +0100 |
commit | 47c9ee235552fe9eae974ea2560d16c6e5dc7ff4 (patch) | |
tree | 5d5b1a6fca60fc04244475915d2d0ae9b825b3c3 /crates/ra_flycheck/src/conv/snapshots/ra_flycheck__conv__test__snap_rustc_wrong_number_of_parameters.snap | |
parent | 33a9b947a24a3fe8ba6b9d0e1aa17f471ca9c096 (diff) | |
parent | 70730d7655bf2178d88938651635843b7ef015c8 (diff) |
Merge #3792
3792: Rename cargo_watch -> flycheck r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_flycheck/src/conv/snapshots/ra_flycheck__conv__test__snap_rustc_wrong_number_of_parameters.snap')
-rw-r--r-- | crates/ra_flycheck/src/conv/snapshots/ra_flycheck__conv__test__snap_rustc_wrong_number_of_parameters.snap | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/crates/ra_flycheck/src/conv/snapshots/ra_flycheck__conv__test__snap_rustc_wrong_number_of_parameters.snap b/crates/ra_flycheck/src/conv/snapshots/ra_flycheck__conv__test__snap_rustc_wrong_number_of_parameters.snap new file mode 100644 index 000000000..e500d3cd6 --- /dev/null +++ b/crates/ra_flycheck/src/conv/snapshots/ra_flycheck__conv__test__snap_rustc_wrong_number_of_parameters.snap | |||
@@ -0,0 +1,67 @@ | |||
1 | --- | ||
2 | source: crates/ra_flycheck/src/conv/test.rs | ||
3 | expression: diag | ||
4 | --- | ||
5 | [ | ||
6 | MappedRustDiagnostic { | ||
7 | location: Location { | ||
8 | uri: "file:///test/compiler/ty/select.rs", | ||
9 | range: Range { | ||
10 | start: Position { | ||
11 | line: 103, | ||
12 | character: 17, | ||
13 | }, | ||
14 | end: Position { | ||
15 | line: 103, | ||
16 | character: 29, | ||
17 | }, | ||
18 | }, | ||
19 | }, | ||
20 | diagnostic: Diagnostic { | ||
21 | range: Range { | ||
22 | start: Position { | ||
23 | line: 103, | ||
24 | character: 17, | ||
25 | }, | ||
26 | end: Position { | ||
27 | line: 103, | ||
28 | character: 29, | ||
29 | }, | ||
30 | }, | ||
31 | severity: Some( | ||
32 | Error, | ||
33 | ), | ||
34 | code: Some( | ||
35 | String( | ||
36 | "E0061", | ||
37 | ), | ||
38 | ), | ||
39 | source: Some( | ||
40 | "rustc", | ||
41 | ), | ||
42 | message: "this function takes 2 parameters but 3 parameters were supplied\nexpected 2 parameters", | ||
43 | related_information: Some( | ||
44 | [ | ||
45 | DiagnosticRelatedInformation { | ||
46 | location: Location { | ||
47 | uri: "file:///test/compiler/ty/select.rs", | ||
48 | range: Range { | ||
49 | start: Position { | ||
50 | line: 218, | ||
51 | character: 4, | ||
52 | }, | ||
53 | end: Position { | ||
54 | line: 230, | ||
55 | character: 5, | ||
56 | }, | ||
57 | }, | ||
58 | }, | ||
59 | message: "defined here", | ||
60 | }, | ||
61 | ], | ||
62 | ), | ||
63 | tags: None, | ||
64 | }, | ||
65 | fixes: [], | ||
66 | }, | ||
67 | ] | ||