Skip to content

Commit d0a7871

Browse files
bors[bot]kjeremy
andauthored
Merge #7733
7733: Update some crates r=kjeremy a=kjeremy Co-authored-by: Jeremy Kolb <kjeremy@gmail.com>
2 parents 0b4ec3c + 1f3c637 commit d0a7871

11 files changed

+124
-20
lines changed

Cargo.lock

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/rust-analyzer/src/diagnostics/test_data/clippy_pass_by_ref.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
MappedRustDiagnostic {
33
url: Url {
44
scheme: "file",
5+
username: "",
6+
password: None,
57
host: None,
68
port: None,
79
path: "/test/compiler/mir/tagset.rs",
@@ -31,6 +33,8 @@
3133
CodeDescription {
3234
href: Url {
3335
scheme: "https",
36+
username: "",
37+
password: None,
3438
host: Some(
3539
Domain(
3640
"rust-lang.github.io",
@@ -55,6 +59,8 @@
5559
location: Location {
5660
uri: Url {
5761
scheme: "file",
62+
username: "",
63+
password: None,
5864
host: None,
5965
port: None,
6066
path: "/test/compiler/lib.rs",
@@ -78,6 +84,8 @@
7884
location: Location {
7985
uri: Url {
8086
scheme: "file",
87+
username: "",
88+
password: None,
8189
host: None,
8290
port: None,
8391
path: "/test/compiler/mir/tagset.rs",
@@ -107,6 +115,8 @@
107115
MappedRustDiagnostic {
108116
url: Url {
109117
scheme: "file",
118+
username: "",
119+
password: None,
110120
host: None,
111121
port: None,
112122
path: "/test/compiler/lib.rs",
@@ -136,6 +146,8 @@
136146
CodeDescription {
137147
href: Url {
138148
scheme: "https",
149+
username: "",
150+
password: None,
139151
host: Some(
140152
Domain(
141153
"rust-lang.github.io",
@@ -160,6 +172,8 @@
160172
location: Location {
161173
uri: Url {
162174
scheme: "file",
175+
username: "",
176+
password: None,
163177
host: None,
164178
port: None,
165179
path: "/test/compiler/mir/tagset.rs",
@@ -189,6 +203,8 @@
189203
MappedRustDiagnostic {
190204
url: Url {
191205
scheme: "file",
206+
username: "",
207+
password: None,
192208
host: None,
193209
port: None,
194210
path: "/test/compiler/mir/tagset.rs",
@@ -218,6 +234,8 @@
218234
CodeDescription {
219235
href: Url {
220236
scheme: "https",
237+
username: "",
238+
password: None,
221239
host: Some(
222240
Domain(
223241
"rust-lang.github.io",
@@ -242,6 +260,8 @@
242260
location: Location {
243261
uri: Url {
244262
scheme: "file",
263+
username: "",
264+
password: None,
245265
host: None,
246266
port: None,
247267
path: "/test/compiler/mir/tagset.rs",
@@ -281,6 +301,8 @@
281301
{
282302
Url {
283303
scheme: "file",
304+
username: "",
305+
password: None,
284306
host: None,
285307
port: None,
286308
path: "/test/compiler/mir/tagset.rs",

crates/rust-analyzer/src/diagnostics/test_data/handles_macro_location.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
MappedRustDiagnostic {
33
url: Url {
44
scheme: "file",
5+
username: "",
6+
password: None,
57
host: None,
68
port: None,
79
path: "/test/src/main.rs",
@@ -31,6 +33,8 @@
3133
CodeDescription {
3234
href: Url {
3335
scheme: "https",
36+
username: "",
37+
password: None,
3438
host: Some(
3539
Domain(
3640
"doc.rust-lang.org",

crates/rust-analyzer/src/diagnostics/test_data/macro_compiler_error.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
MappedRustDiagnostic {
33
url: Url {
44
scheme: "file",
5+
username: "",
6+
password: None,
57
host: None,
68
port: None,
79
path: "/test/crates/hir_def/src/path.rs",
@@ -34,6 +36,8 @@
3436
location: Location {
3537
uri: Url {
3638
scheme: "file",
39+
username: "",
40+
password: None,
3741
host: None,
3842
port: None,
3943
path: "/test/crates/hir_def/src/data.rs",
@@ -63,6 +67,8 @@
6367
MappedRustDiagnostic {
6468
url: Url {
6569
scheme: "file",
70+
username: "",
71+
password: None,
6672
host: None,
6773
port: None,
6874
path: "/test/crates/hir_def/src/data.rs",

crates/rust-analyzer/src/diagnostics/test_data/rustc_incompatible_type_for_trait.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
MappedRustDiagnostic {
33
url: Url {
44
scheme: "file",
5+
username: "",
6+
password: None,
57
host: None,
68
port: None,
79
path: "/test/compiler/ty/list_iter.rs",
@@ -31,6 +33,8 @@
3133
CodeDescription {
3234
href: Url {
3335
scheme: "https",
36+
username: "",
37+
password: None,
3438
host: Some(
3539
Domain(
3640
"doc.rust-lang.org",

crates/rust-analyzer/src/diagnostics/test_data/rustc_mismatched_type.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
MappedRustDiagnostic {
33
url: Url {
44
scheme: "file",
5+
username: "",
6+
password: None,
57
host: None,
68
port: None,
79
path: "/test/runtime/compiler_support.rs",
@@ -31,6 +33,8 @@
3133
CodeDescription {
3234
href: Url {
3335
scheme: "https",
36+
username: "",
37+
password: None,
3438
host: Some(
3539
Domain(
3640
"doc.rust-lang.org",

crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
MappedRustDiagnostic {
33
url: Url {
44
scheme: "file",
5+
username: "",
6+
password: None,
57
host: None,
68
port: None,
79
path: "/test/driver/subcommand/repl.rs",
@@ -38,6 +40,8 @@
3840
location: Location {
3941
uri: Url {
4042
scheme: "file",
43+
username: "",
44+
password: None,
4145
host: None,
4246
port: None,
4347
path: "/test/driver/subcommand/repl.rs",
@@ -71,6 +75,8 @@
7175
MappedRustDiagnostic {
7276
url: Url {
7377
scheme: "file",
78+
username: "",
79+
password: None,
7480
host: None,
7581
port: None,
7682
path: "/test/driver/subcommand/repl.rs",
@@ -107,6 +113,8 @@
107113
location: Location {
108114
uri: Url {
109115
scheme: "file",
116+
username: "",
117+
password: None,
110118
host: None,
111119
port: None,
112120
path: "/test/driver/subcommand/repl.rs",
@@ -146,6 +154,8 @@
146154
{
147155
Url {
148156
scheme: "file",
157+
username: "",
158+
password: None,
149159
host: None,
150160
port: None,
151161
path: "/test/driver/subcommand/repl.rs",

crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_hint.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
MappedRustDiagnostic {
33
url: Url {
44
scheme: "file",
5+
username: "",
6+
password: None,
57
host: None,
68
port: None,
79
path: "/test/driver/subcommand/repl.rs",
@@ -38,6 +40,8 @@
3840
location: Location {
3941
uri: Url {
4042
scheme: "file",
43+
username: "",
44+
password: None,
4145
host: None,
4246
port: None,
4347
path: "/test/driver/subcommand/repl.rs",
@@ -71,6 +75,8 @@
7175
MappedRustDiagnostic {
7276
url: Url {
7377
scheme: "file",
78+
username: "",
79+
password: None,
7480
host: None,
7581
port: None,
7682
path: "/test/driver/subcommand/repl.rs",
@@ -107,6 +113,8 @@
107113
location: Location {
108114
uri: Url {
109115
scheme: "file",
116+
username: "",
117+
password: None,
110118
host: None,
111119
port: None,
112120
path: "/test/driver/subcommand/repl.rs",
@@ -146,6 +154,8 @@
146154
{
147155
Url {
148156
scheme: "file",
157+
username: "",
158+
password: None,
149159
host: None,
150160
port: None,
151161
path: "/test/driver/subcommand/repl.rs",

0 commit comments

Comments
 (0)