diff options
author | Aleksey Kladov <[email protected]> | 2020-05-15 00:51:48 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-05-15 00:52:25 +0100 |
commit | 220813dcb0881ff199619c11eb34a39a6de0f67a (patch) | |
tree | bf2bcdce03889a356b37bfe29253de4228ded6ea /crates/ra_flycheck/src/conv/snapshots/ra_flycheck__conv__test__snap_rustc_incompatible_type_for_trait.snap | |
parent | 12d82687cd600ec81bf3027661135e5f0d4ad4bd (diff) |
Move LSP bits from flycheck to rust-analyzer
There should be only one place that knows about LSP, and that place is
right before we spit JSON on stdout.
Diffstat (limited to 'crates/ra_flycheck/src/conv/snapshots/ra_flycheck__conv__test__snap_rustc_incompatible_type_for_trait.snap')
-rw-r--r-- | crates/ra_flycheck/src/conv/snapshots/ra_flycheck__conv__test__snap_rustc_incompatible_type_for_trait.snap | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/crates/ra_flycheck/src/conv/snapshots/ra_flycheck__conv__test__snap_rustc_incompatible_type_for_trait.snap b/crates/ra_flycheck/src/conv/snapshots/ra_flycheck__conv__test__snap_rustc_incompatible_type_for_trait.snap deleted file mode 100644 index 0df0fce18..000000000 --- a/crates/ra_flycheck/src/conv/snapshots/ra_flycheck__conv__test__snap_rustc_incompatible_type_for_trait.snap +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
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/list_iter.rs", | ||
9 | range: Range { | ||
10 | start: Position { | ||
11 | line: 51, | ||
12 | character: 4, | ||
13 | }, | ||
14 | end: Position { | ||
15 | line: 51, | ||
16 | character: 47, | ||
17 | }, | ||
18 | }, | ||
19 | }, | ||
20 | diagnostic: Diagnostic { | ||
21 | range: Range { | ||
22 | start: Position { | ||
23 | line: 51, | ||
24 | character: 4, | ||
25 | }, | ||
26 | end: Position { | ||
27 | line: 51, | ||
28 | character: 47, | ||
29 | }, | ||
30 | }, | ||
31 | severity: Some( | ||
32 | Error, | ||
33 | ), | ||
34 | code: Some( | ||
35 | String( | ||
36 | "E0053", | ||
37 | ), | ||
38 | ), | ||
39 | source: Some( | ||
40 | "rustc", | ||
41 | ), | ||
42 | message: "method `next` has an incompatible type for trait\nexpected type `fn(&mut ty::list_iter::ListIterator<\'list, M>) -> std::option::Option<&ty::Ref<M>>`\n found type `fn(&ty::list_iter::ListIterator<\'list, M>) -> std::option::Option<&\'list ty::Ref<M>>`", | ||
43 | related_information: None, | ||
44 | tags: None, | ||
45 | }, | ||
46 | fixes: [], | ||
47 | }, | ||
48 | ] | ||