Skip to content

Commit ef013ec

Browse files
committed
fixup! Migrate some tests away from concat-idents
1 parent 938b6f5 commit ef013ec

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/ui/derives/nonsense-input-to-debug.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
// Issue 32950
1+
// Issue: #32950
22
// Ensure that using macros rather than a type doesn't break `derive`.
33

44
#[derive(Debug)]
55
struct Nonsense<T> {
66
//~^ ERROR type parameter `T` is never used
7-
should_be_vec_t: vec![T]
7+
should_be_vec_t: vec![T],
88
//~^ ERROR `derive` cannot be used on items with type macros
99
//~| ERROR expected type, found `expr` metavariable
1010
}

tests/ui/derives/nonsense-input-to-debug.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
error: `derive` cannot be used on items with type macros
22
--> $DIR/nonsense-input-to-debug.rs:7:22
33
|
4-
LL | should_be_vec_t: vec![T]
4+
LL | should_be_vec_t: vec![T],
55
| ^^^^^^^
66

77
error: expected type, found `expr` metavariable
88
--> $DIR/nonsense-input-to-debug.rs:7:22
99
|
10-
LL | should_be_vec_t: vec![T]
10+
LL | should_be_vec_t: vec![T],
1111
| ^^^^^^^
1212
| |
1313
| expected type

0 commit comments

Comments
 (0)