Skip to content

Commit 8ffd1bf

Browse files
Update uitest stderrs
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
1 parent c5ee3dc commit 8ffd1bf

File tree

3 files changed

+36
-33
lines changed

3 files changed

+36
-33
lines changed

tests/ui/attributes/malformed-attrs.stderr

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,6 @@ error: malformed `debugger_visualizer` attribute input
182182
LL | #[debugger_visualizer]
183183
| ^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[debugger_visualizer(natvis_file = "...", gdb_script_file = "...")]`
184184

185-
error: malformed `automatically_derived` attribute input
186-
--> $DIR/malformed-attrs.rs:191:1
187-
|
188-
LL | #[automatically_derived = 18]
189-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[automatically_derived]`
190-
191185
error: malformed `thread_local` attribute input
192186
--> $DIR/malformed-attrs.rs:203:1
193187
|
@@ -546,6 +540,15 @@ LL | #[unsafe(ffi_const = 1)]
546540
| | didn't expect any arguments here
547541
| help: must be of the form: `#[ffi_const]`
548542

543+
error[E0565]: malformed `automatically_derived` attribute input
544+
--> $DIR/malformed-attrs.rs:191:1
545+
|
546+
LL | #[automatically_derived = 18]
547+
| ^^^^^^^^^^^^^^^^^^^^^^^^----^
548+
| | |
549+
| | didn't expect any arguments here
550+
| help: must be of the form: `#[automatically_derived]`
551+
549552
error[E0565]: malformed `non_exhaustive` attribute input
550553
--> $DIR/malformed-attrs.rs:197:1
551554
|

tests/ui/feature-gates/issue-43106-gating-of-builtin-attrs-error.stderr

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -121,21 +121,6 @@ LL - #![rustc_main]
121121
LL + #[rustc_main]
122122
|
123123

124-
error: `automatically_derived` attribute cannot be used at crate level
125-
--> $DIR/issue-43106-gating-of-builtin-attrs-error.rs:23:1
126-
|
127-
LL | #![automatically_derived]
128-
| ^^^^^^^^^^^^^^^^^^^^^^^^^
129-
...
130-
LL | mod inline {
131-
| ------ the inner attribute doesn't annotate this module
132-
|
133-
help: perhaps you meant to use an outer attribute
134-
|
135-
LL - #![automatically_derived]
136-
LL + #[automatically_derived]
137-
|
138-
139124
error: `repr` attribute cannot be used at crate level
140125
--> $DIR/issue-43106-gating-of-builtin-attrs-error.rs:19:1
141126
|
@@ -166,6 +151,21 @@ LL - #![path = "3800"]
166151
LL + #[path = "3800"]
167152
|
168153

154+
error: `automatically_derived` attribute cannot be used at crate level
155+
--> $DIR/issue-43106-gating-of-builtin-attrs-error.rs:23:1
156+
|
157+
LL | #![automatically_derived]
158+
| ^^^^^^^^^^^^^^^^^^^^^^^^^
159+
...
160+
LL | mod inline {
161+
| ------ the inner attribute doesn't annotate this module
162+
|
163+
help: perhaps you meant to use an outer attribute
164+
|
165+
LL - #![automatically_derived]
166+
LL + #[automatically_derived]
167+
|
168+
169169
error[E0518]: attribute should be applied to function or closure
170170
--> $DIR/issue-43106-gating-of-builtin-attrs-error.rs:42:17
171171
|

tests/ui/lint/unused/unused-attr-duplicate.stderr

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,6 @@ LL | #[should_panic]
4040
| ^^^^^^^^^^^^^^^
4141
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
4242

43-
error: unused attribute
44-
--> $DIR/unused-attr-duplicate.rs:70:1
45-
|
46-
LL | #[automatically_derived]
47-
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute
48-
|
49-
note: attribute also specified here
50-
--> $DIR/unused-attr-duplicate.rs:69:1
51-
|
52-
LL | #[automatically_derived]
53-
| ^^^^^^^^^^^^^^^^^^^^^^^^
54-
5543
error: unused attribute
5644
--> $DIR/unused-attr-duplicate.rs:14:1
5745
|
@@ -190,6 +178,18 @@ note: attribute also specified here
190178
LL | #[non_exhaustive]
191179
| ^^^^^^^^^^^^^^^^^
192180

181+
error: unused attribute
182+
--> $DIR/unused-attr-duplicate.rs:70:1
183+
|
184+
LL | #[automatically_derived]
185+
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute
186+
|
187+
note: attribute also specified here
188+
--> $DIR/unused-attr-duplicate.rs:69:1
189+
|
190+
LL | #[automatically_derived]
191+
| ^^^^^^^^^^^^^^^^^^^^^^^^
192+
193193
error: unused attribute
194194
--> $DIR/unused-attr-duplicate.rs:74:1
195195
|

0 commit comments

Comments
 (0)