diff options
author | Emil Lauridsen <[email protected]> | 2019-12-27 10:10:07 +0000 |
---|---|---|
committer | Emil Lauridsen <[email protected]> | 2019-12-27 10:10:07 +0000 |
commit | 428a6ff5b8bad2c80a3522599195bf2a393f744e (patch) | |
tree | 9707dd343b8f00f01041a7995536aac84b137291 /crates/ra_cargo_watch/src/conv/snapshots/test__snap_rustc_mismatched_type.snap | |
parent | 0cdbd0814958e174c5481d6bf16bd2a7e53ec981 (diff) |
Move cargo watch functionality to separate crate
Diffstat (limited to 'crates/ra_cargo_watch/src/conv/snapshots/test__snap_rustc_mismatched_type.snap')
-rw-r--r-- | crates/ra_cargo_watch/src/conv/snapshots/test__snap_rustc_mismatched_type.snap | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/crates/ra_cargo_watch/src/conv/snapshots/test__snap_rustc_mismatched_type.snap b/crates/ra_cargo_watch/src/conv/snapshots/test__snap_rustc_mismatched_type.snap new file mode 100644 index 000000000..8c1483c74 --- /dev/null +++ b/crates/ra_cargo_watch/src/conv/snapshots/test__snap_rustc_mismatched_type.snap | |||
@@ -0,0 +1,46 @@ | |||
1 | --- | ||
2 | source: crates/ra_cargo_watch/src/conv/test.rs | ||
3 | expression: diag | ||
4 | --- | ||
5 | MappedRustDiagnostic { | ||
6 | location: Location { | ||
7 | uri: "file:///test/runtime/compiler_support.rs", | ||
8 | range: Range { | ||
9 | start: Position { | ||
10 | line: 47, | ||
11 | character: 64, | ||
12 | }, | ||
13 | end: Position { | ||
14 | line: 47, | ||
15 | character: 69, | ||
16 | }, | ||
17 | }, | ||
18 | }, | ||
19 | diagnostic: Diagnostic { | ||
20 | range: Range { | ||
21 | start: Position { | ||
22 | line: 47, | ||
23 | character: 64, | ||
24 | }, | ||
25 | end: Position { | ||
26 | line: 47, | ||
27 | character: 69, | ||
28 | }, | ||
29 | }, | ||
30 | severity: Some( | ||
31 | Error, | ||
32 | ), | ||
33 | code: Some( | ||
34 | String( | ||
35 | "E0308", | ||
36 | ), | ||
37 | ), | ||
38 | source: Some( | ||
39 | "rustc", | ||
40 | ), | ||
41 | message: "mismatched types\nexpected usize, found u32", | ||
42 | related_information: None, | ||
43 | tags: None, | ||
44 | }, | ||
45 | suggested_fixes: [], | ||
46 | } | ||