Skip to content

Commit 8bfc790

Browse files
change/bless a test
1 parent 90820ff commit 8bfc790

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

tests/ui/proc-macro/derive-helper-legacy-spurious.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
extern crate test_macros;
77

88
#[derive(Empty)]
9-
#[empty_helper] //~ ERROR cannot find attribute `empty_helper` in this scope
9+
#[empty_helper]
1010
struct Foo {}
1111

1212
fn main() {}

tests/ui/proc-macro/derive-helper-legacy-spurious.stderr

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,5 @@ error: cannot find attribute `dummy` in this scope
44
LL | #![dummy]
55
| ^^^^^
66

7-
error: cannot find attribute `empty_helper` in this scope
8-
--> $DIR/derive-helper-legacy-spurious.rs:9:3
9-
|
10-
LL | #[empty_helper]
11-
| ^^^^^^^^^^^^
12-
13-
error: aborting due to 2 previous errors
7+
error: aborting due to 1 previous error
148

0 commit comments

Comments
 (0)