diff options
Diffstat (limited to 'crates/rust-analyzer/src/diagnostics/test_data/clippy_pass_by_ref.txt')
-rw-r--r-- | crates/rust-analyzer/src/diagnostics/test_data/clippy_pass_by_ref.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/crates/rust-analyzer/src/diagnostics/test_data/clippy_pass_by_ref.txt b/crates/rust-analyzer/src/diagnostics/test_data/clippy_pass_by_ref.txt index ce80476fb..23ec2efba 100644 --- a/crates/rust-analyzer/src/diagnostics/test_data/clippy_pass_by_ref.txt +++ b/crates/rust-analyzer/src/diagnostics/test_data/clippy_pass_by_ref.txt | |||
@@ -2,6 +2,8 @@ | |||
2 | MappedRustDiagnostic { | 2 | MappedRustDiagnostic { |
3 | url: Url { | 3 | url: Url { |
4 | scheme: "file", | 4 | scheme: "file", |
5 | username: "", | ||
6 | password: None, | ||
5 | host: None, | 7 | host: None, |
6 | port: None, | 8 | port: None, |
7 | path: "/test/compiler/mir/tagset.rs", | 9 | path: "/test/compiler/mir/tagset.rs", |
@@ -31,6 +33,8 @@ | |||
31 | CodeDescription { | 33 | CodeDescription { |
32 | href: Url { | 34 | href: Url { |
33 | scheme: "https", | 35 | scheme: "https", |
36 | username: "", | ||
37 | password: None, | ||
34 | host: Some( | 38 | host: Some( |
35 | Domain( | 39 | Domain( |
36 | "rust-lang.github.io", | 40 | "rust-lang.github.io", |
@@ -55,6 +59,8 @@ | |||
55 | location: Location { | 59 | location: Location { |
56 | uri: Url { | 60 | uri: Url { |
57 | scheme: "file", | 61 | scheme: "file", |
62 | username: "", | ||
63 | password: None, | ||
58 | host: None, | 64 | host: None, |
59 | port: None, | 65 | port: None, |
60 | path: "/test/compiler/lib.rs", | 66 | path: "/test/compiler/lib.rs", |
@@ -78,6 +84,8 @@ | |||
78 | location: Location { | 84 | location: Location { |
79 | uri: Url { | 85 | uri: Url { |
80 | scheme: "file", | 86 | scheme: "file", |
87 | username: "", | ||
88 | password: None, | ||
81 | host: None, | 89 | host: None, |
82 | port: None, | 90 | port: None, |
83 | path: "/test/compiler/mir/tagset.rs", | 91 | path: "/test/compiler/mir/tagset.rs", |
@@ -107,6 +115,8 @@ | |||
107 | MappedRustDiagnostic { | 115 | MappedRustDiagnostic { |
108 | url: Url { | 116 | url: Url { |
109 | scheme: "file", | 117 | scheme: "file", |
118 | username: "", | ||
119 | password: None, | ||
110 | host: None, | 120 | host: None, |
111 | port: None, | 121 | port: None, |
112 | path: "/test/compiler/lib.rs", | 122 | path: "/test/compiler/lib.rs", |
@@ -136,6 +146,8 @@ | |||
136 | CodeDescription { | 146 | CodeDescription { |
137 | href: Url { | 147 | href: Url { |
138 | scheme: "https", | 148 | scheme: "https", |
149 | username: "", | ||
150 | password: None, | ||
139 | host: Some( | 151 | host: Some( |
140 | Domain( | 152 | Domain( |
141 | "rust-lang.github.io", | 153 | "rust-lang.github.io", |
@@ -160,6 +172,8 @@ | |||
160 | location: Location { | 172 | location: Location { |
161 | uri: Url { | 173 | uri: Url { |
162 | scheme: "file", | 174 | scheme: "file", |
175 | username: "", | ||
176 | password: None, | ||
163 | host: None, | 177 | host: None, |
164 | port: None, | 178 | port: None, |
165 | path: "/test/compiler/mir/tagset.rs", | 179 | path: "/test/compiler/mir/tagset.rs", |
@@ -189,6 +203,8 @@ | |||
189 | MappedRustDiagnostic { | 203 | MappedRustDiagnostic { |
190 | url: Url { | 204 | url: Url { |
191 | scheme: "file", | 205 | scheme: "file", |
206 | username: "", | ||
207 | password: None, | ||
192 | host: None, | 208 | host: None, |
193 | port: None, | 209 | port: None, |
194 | path: "/test/compiler/mir/tagset.rs", | 210 | path: "/test/compiler/mir/tagset.rs", |
@@ -218,6 +234,8 @@ | |||
218 | CodeDescription { | 234 | CodeDescription { |
219 | href: Url { | 235 | href: Url { |
220 | scheme: "https", | 236 | scheme: "https", |
237 | username: "", | ||
238 | password: None, | ||
221 | host: Some( | 239 | host: Some( |
222 | Domain( | 240 | Domain( |
223 | "rust-lang.github.io", | 241 | "rust-lang.github.io", |
@@ -242,6 +260,8 @@ | |||
242 | location: Location { | 260 | location: Location { |
243 | uri: Url { | 261 | uri: Url { |
244 | scheme: "file", | 262 | scheme: "file", |
263 | username: "", | ||
264 | password: None, | ||
245 | host: None, | 265 | host: None, |
246 | port: None, | 266 | port: None, |
247 | path: "/test/compiler/mir/tagset.rs", | 267 | path: "/test/compiler/mir/tagset.rs", |
@@ -281,6 +301,8 @@ | |||
281 | { | 301 | { |
282 | Url { | 302 | Url { |
283 | scheme: "file", | 303 | scheme: "file", |
304 | username: "", | ||
305 | password: None, | ||
284 | host: None, | 306 | host: None, |
285 | port: None, | 307 | port: None, |
286 | path: "/test/compiler/mir/tagset.rs", | 308 | path: "/test/compiler/mir/tagset.rs", |