Skip to content

Commit 741f47f

Browse files
committed
Update test fixtures
1 parent b43bc61 commit 741f47f

11 files changed

+57
-1
lines changed

crates/proc_macro_srv/src/tests/fixtures/test_serialize_proc_macro.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ SUBTREE $
2323
SUBTREE [] 4294967295
2424
IDENT allow 4294967295
2525
SUBTREE () 4294967295
26-
IDENT rust_2018_idioms 4294967295
26+
IDENT unused_extern_crates 4294967295
2727
PUNCH , [alone] 4294967295
2828
IDENT clippy 4294967295
2929
PUNCH : [joint] 4294967295

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
MappedRustDiagnostic {
33
url: Url {
44
scheme: "file",
5+
cannot_be_a_base: false,
56
username: "",
67
password: None,
78
host: None,
@@ -33,6 +34,7 @@
3334
CodeDescription {
3435
href: Url {
3536
scheme: "https",
37+
cannot_be_a_base: false,
3638
username: "",
3739
password: None,
3840
host: Some(
@@ -59,6 +61,7 @@
5961
location: Location {
6062
uri: Url {
6163
scheme: "file",
64+
cannot_be_a_base: false,
6265
username: "",
6366
password: None,
6467
host: None,
@@ -84,6 +87,7 @@
8487
location: Location {
8588
uri: Url {
8689
scheme: "file",
90+
cannot_be_a_base: false,
8791
username: "",
8892
password: None,
8993
host: None,
@@ -115,6 +119,7 @@
115119
MappedRustDiagnostic {
116120
url: Url {
117121
scheme: "file",
122+
cannot_be_a_base: false,
118123
username: "",
119124
password: None,
120125
host: None,
@@ -146,6 +151,7 @@
146151
CodeDescription {
147152
href: Url {
148153
scheme: "https",
154+
cannot_be_a_base: false,
149155
username: "",
150156
password: None,
151157
host: Some(
@@ -172,6 +178,7 @@
172178
location: Location {
173179
uri: Url {
174180
scheme: "file",
181+
cannot_be_a_base: false,
175182
username: "",
176183
password: None,
177184
host: None,
@@ -203,6 +210,7 @@
203210
MappedRustDiagnostic {
204211
url: Url {
205212
scheme: "file",
213+
cannot_be_a_base: false,
206214
username: "",
207215
password: None,
208216
host: None,
@@ -234,6 +242,7 @@
234242
CodeDescription {
235243
href: Url {
236244
scheme: "https",
245+
cannot_be_a_base: false,
237246
username: "",
238247
password: None,
239248
host: Some(
@@ -260,6 +269,7 @@
260269
location: Location {
261270
uri: Url {
262271
scheme: "file",
272+
cannot_be_a_base: false,
263273
username: "",
264274
password: None,
265275
host: None,
@@ -301,6 +311,7 @@
301311
{
302312
Url {
303313
scheme: "file",
314+
cannot_be_a_base: false,
304315
username: "",
305316
password: None,
306317
host: None,

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
MappedRustDiagnostic {
33
url: Url {
44
scheme: "file",
5+
cannot_be_a_base: false,
56
username: "",
67
password: None,
78
host: None,
@@ -33,6 +34,7 @@
3334
CodeDescription {
3435
href: Url {
3536
scheme: "https",
37+
cannot_be_a_base: false,
3638
username: "",
3739
password: None,
3840
host: Some(

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
MappedRustDiagnostic {
33
url: Url {
44
scheme: "file",
5+
cannot_be_a_base: false,
56
username: "",
67
password: None,
78
host: None,
@@ -36,6 +37,7 @@
3637
location: Location {
3738
uri: Url {
3839
scheme: "file",
40+
cannot_be_a_base: false,
3941
username: "",
4042
password: None,
4143
host: None,
@@ -67,6 +69,7 @@
6769
MappedRustDiagnostic {
6870
url: Url {
6971
scheme: "file",
72+
cannot_be_a_base: false,
7073
username: "",
7174
password: None,
7275
host: None,
@@ -101,6 +104,7 @@
101104
location: Location {
102105
uri: Url {
103106
scheme: "file",
107+
cannot_be_a_base: false,
104108
username: "",
105109
password: None,
106110
host: None,
@@ -132,6 +136,7 @@
132136
MappedRustDiagnostic {
133137
url: Url {
134138
scheme: "file",
139+
cannot_be_a_base: false,
135140
username: "",
136141
password: None,
137142
host: None,
@@ -166,6 +171,7 @@
166171
location: Location {
167172
uri: Url {
168173
scheme: "file",
174+
cannot_be_a_base: false,
169175
username: "",
170176
password: None,
171177
host: None,
@@ -191,6 +197,7 @@
191197
location: Location {
192198
uri: Url {
193199
scheme: "file",
200+
cannot_be_a_base: false,
194201
username: "",
195202
password: None,
196203
host: None,

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
MappedRustDiagnostic {
33
url: Url {
44
scheme: "file",
5+
cannot_be_a_base: false,
56
username: "",
67
password: None,
78
host: None,
@@ -33,6 +34,7 @@
3334
CodeDescription {
3435
href: Url {
3536
scheme: "https",
37+
cannot_be_a_base: false,
3638
username: "",
3739
password: None,
3840
host: Some(

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
MappedRustDiagnostic {
33
url: Url {
44
scheme: "file",
5+
cannot_be_a_base: false,
56
username: "",
67
password: None,
78
host: None,
@@ -33,6 +34,7 @@
3334
CodeDescription {
3435
href: Url {
3536
scheme: "https",
37+
cannot_be_a_base: false,
3638
username: "",
3739
password: None,
3840
host: Some(

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
MappedRustDiagnostic {
33
url: Url {
44
scheme: "file",
5+
cannot_be_a_base: false,
56
username: "",
67
password: None,
78
host: None,
@@ -40,6 +41,7 @@
4041
location: Location {
4142
uri: Url {
4243
scheme: "file",
44+
cannot_be_a_base: false,
4345
username: "",
4446
password: None,
4547
host: None,
@@ -75,6 +77,7 @@
7577
MappedRustDiagnostic {
7678
url: Url {
7779
scheme: "file",
80+
cannot_be_a_base: false,
7881
username: "",
7982
password: None,
8083
host: None,
@@ -113,6 +116,7 @@
113116
location: Location {
114117
uri: Url {
115118
scheme: "file",
119+
cannot_be_a_base: false,
116120
username: "",
117121
password: None,
118122
host: None,
@@ -154,6 +158,7 @@
154158
{
155159
Url {
156160
scheme: "file",
161+
cannot_be_a_base: false,
157162
username: "",
158163
password: None,
159164
host: None,

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
MappedRustDiagnostic {
33
url: Url {
44
scheme: "file",
5+
cannot_be_a_base: false,
56
username: "",
67
password: None,
78
host: None,
@@ -40,6 +41,7 @@
4041
location: Location {
4142
uri: Url {
4243
scheme: "file",
44+
cannot_be_a_base: false,
4345
username: "",
4446
password: None,
4547
host: None,
@@ -75,6 +77,7 @@
7577
MappedRustDiagnostic {
7678
url: Url {
7779
scheme: "file",
80+
cannot_be_a_base: false,
7881
username: "",
7982
password: None,
8083
host: None,
@@ -113,6 +116,7 @@
113116
location: Location {
114117
uri: Url {
115118
scheme: "file",
119+
cannot_be_a_base: false,
116120
username: "",
117121
password: None,
118122
host: None,
@@ -154,6 +158,7 @@
154158
{
155159
Url {
156160
scheme: "file",
161+
cannot_be_a_base: false,
157162
username: "",
158163
password: None,
159164
host: None,

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
MappedRustDiagnostic {
33
url: Url {
44
scheme: "file",
5+
cannot_be_a_base: false,
56
username: "",
67
password: None,
78
host: None,
@@ -40,6 +41,7 @@
4041
location: Location {
4142
uri: Url {
4243
scheme: "file",
44+
cannot_be_a_base: false,
4345
username: "",
4446
password: None,
4547
host: None,
@@ -75,6 +77,7 @@
7577
MappedRustDiagnostic {
7678
url: Url {
7779
scheme: "file",
80+
cannot_be_a_base: false,
7881
username: "",
7982
password: None,
8083
host: None,
@@ -113,6 +116,7 @@
113116
location: Location {
114117
uri: Url {
115118
scheme: "file",
119+
cannot_be_a_base: false,
116120
username: "",
117121
password: None,
118122
host: None,
@@ -154,6 +158,7 @@
154158
{
155159
Url {
156160
scheme: "file",
161+
cannot_be_a_base: false,
157162
username: "",
158163
password: None,
159164
host: None,

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
MappedRustDiagnostic {
33
url: Url {
44
scheme: "file",
5+
cannot_be_a_base: false,
56
username: "",
67
password: None,
78
host: None,
@@ -33,6 +34,7 @@
3334
CodeDescription {
3435
href: Url {
3536
scheme: "https",
37+
cannot_be_a_base: false,
3638
username: "",
3739
password: None,
3840
host: Some(
@@ -59,6 +61,7 @@
5961
location: Location {
6062
uri: Url {
6163
scheme: "file",
64+
cannot_be_a_base: false,
6265
username: "",
6366
password: None,
6467
host: None,
@@ -90,6 +93,7 @@
9093
MappedRustDiagnostic {
9194
url: Url {
9295
scheme: "file",
96+
cannot_be_a_base: false,
9397
username: "",
9498
password: None,
9599
host: None,
@@ -121,6 +125,7 @@
121125
CodeDescription {
122126
href: Url {
123127
scheme: "https",
128+
cannot_be_a_base: false,
124129
username: "",
125130
password: None,
126131
host: Some(
@@ -147,6 +152,7 @@
147152
location: Location {
148153
uri: Url {
149154
scheme: "file",
155+
cannot_be_a_base: false,
150156
username: "",
151157
password: None,
152158
host: None,

0 commit comments

Comments
 (0)