diff options
Diffstat (limited to 'crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_hint.txt')
-rw-r--r-- | crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_hint.txt | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_hint.txt b/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_hint.txt index 0b8937376..632f438d7 100644 --- a/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_hint.txt +++ b/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_hint.txt | |||
@@ -1,6 +1,13 @@ | |||
1 | [ | 1 | [ |
2 | MappedRustDiagnostic { | 2 | MappedRustDiagnostic { |
3 | url: "file:///test/driver/subcommand/repl.rs", | 3 | url: Url { |
4 | scheme: "file", | ||
5 | host: None, | ||
6 | port: None, | ||
7 | path: "/test/driver/subcommand/repl.rs", | ||
8 | query: None, | ||
9 | fragment: None, | ||
10 | }, | ||
4 | diagnostic: Diagnostic { | 11 | diagnostic: Diagnostic { |
5 | range: Range { | 12 | range: Range { |
6 | start: Position { | 13 | start: Position { |
@@ -46,7 +53,14 @@ | |||
46 | SnippetWorkspaceEdit { | 53 | SnippetWorkspaceEdit { |
47 | changes: Some( | 54 | changes: Some( |
48 | { | 55 | { |
49 | "file:///test/driver/subcommand/repl.rs": [ | 56 | Url { |
57 | scheme: "file", | ||
58 | host: None, | ||
59 | port: None, | ||
60 | path: "/test/driver/subcommand/repl.rs", | ||
61 | query: None, | ||
62 | fragment: None, | ||
63 | }: [ | ||
50 | TextEdit { | 64 | TextEdit { |
51 | range: Range { | 65 | range: Range { |
52 | start: Position { | 66 | start: Position { |