Skip to content

Commit 131cffb

Browse files
committed
Rename tests named with mbe to use macro instead
Most macro tests use `macro` in the name, making it easy to find and run tests relevant to macros. However, a few use `mbe` instead. Rename those to say `macro`.
1 parent 6d64306 commit 131cffb

11 files changed

+11
-11
lines changed

tests/ui/async-await/async-fn/mbe-async-trait-bound-theoretical-regression.stderr renamed to tests/ui/async-await/async-fn/macro-async-trait-bound-theoretical-regression.stderr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: ty
2-
--> $DIR/mbe-async-trait-bound-theoretical-regression.rs:8:19
2+
--> $DIR/macro-async-trait-bound-theoretical-regression.rs:8:19
33
|
44
LL | ($ty:ty) => { compile_error!("ty"); };
55
| ^^^^^^^^^^^^^^^^^^^^
@@ -10,7 +10,7 @@ LL | demo! { impl async Trait }
1010
= note: this error originates in the macro `demo` (in Nightly builds, run with -Z macro-backtrace for more info)
1111

1212
error: ty
13-
--> $DIR/mbe-async-trait-bound-theoretical-regression.rs:8:19
13+
--> $DIR/macro-async-trait-bound-theoretical-regression.rs:8:19
1414
|
1515
LL | ($ty:ty) => { compile_error!("ty"); };
1616
| ^^^^^^^^^^^^^^^^^^^^
@@ -21,7 +21,7 @@ LL | demo! { dyn async Trait }
2121
= note: this error originates in the macro `demo` (in Nightly builds, run with -Z macro-backtrace for more info)
2222

2323
error[E0658]: `async` trait bounds are unstable
24-
--> $DIR/mbe-async-trait-bound-theoretical-regression.rs:15:14
24+
--> $DIR/macro-async-trait-bound-theoretical-regression.rs:15:14
2525
|
2626
LL | demo! { impl async Trait }
2727
| ^^^^^
@@ -32,7 +32,7 @@ LL | demo! { impl async Trait }
3232
= help: use the desugared name of the async trait, such as `AsyncFn`
3333

3434
error[E0658]: `async` trait bounds are unstable
35-
--> $DIR/mbe-async-trait-bound-theoretical-regression.rs:18:13
35+
--> $DIR/macro-async-trait-bound-theoretical-regression.rs:18:13
3636
|
3737
LL | demo! { dyn async Trait }
3838
| ^^^^^

tests/ui/parser/macro/mbe_missing_right_paren.stderr renamed to tests/ui/parser/macro/macro-missing-right-paren.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: this file contains an unclosed delimiter
2-
--> $DIR/mbe_missing_right_paren.rs:3:19
2+
--> $DIR/macro-missing-right-paren.rs:3:19
33
|
44
LL | macro_rules! abc(ؼ
55
| - ^

tests/ui/traits/const-traits/mbe-bare-trait-objects-const-trait-bounds.stderr renamed to tests/ui/traits/const-traits/macro-bare-trait-objects-const-trait-bounds.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: expected identifier, found `]`
2-
--> $DIR/mbe-bare-trait-objects-const-trait-bounds.rs:20:16
2+
--> $DIR/macro-bare-trait-objects-const-trait-bounds.rs:20:16
33
|
44
LL | ($Type:ty) => {
55
| -------- while parsing argument for this `ty` macro fragment
@@ -8,7 +8,7 @@ LL | check! { [const] Trait }
88
| ^ expected identifier
99

1010
error[E0658]: const trait impls are experimental
11-
--> $DIR/mbe-bare-trait-objects-const-trait-bounds.rs:20:11
11+
--> $DIR/macro-bare-trait-objects-const-trait-bounds.rs:20:11
1212
|
1313
LL | check! { [const] Trait }
1414
| ^^^^^

tests/ui/traits/const-traits/mbe-const-trait-bound-theoretical-regression.stderr renamed to tests/ui/traits/const-traits/macro-const-trait-bound-theoretical-regression.stderr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: ty
2-
--> $DIR/mbe-const-trait-bound-theoretical-regression.rs:8:19
2+
--> $DIR/macro-const-trait-bound-theoretical-regression.rs:8:19
33
|
44
LL | ($ty:ty) => { compile_error!("ty"); };
55
| ^^^^^^^^^^^^^^^^^^^^
@@ -10,7 +10,7 @@ LL | demo! { impl const Trait }
1010
= note: this error originates in the macro `demo` (in Nightly builds, run with -Z macro-backtrace for more info)
1111

1212
error: ty
13-
--> $DIR/mbe-const-trait-bound-theoretical-regression.rs:8:19
13+
--> $DIR/macro-const-trait-bound-theoretical-regression.rs:8:19
1414
|
1515
LL | ($ty:ty) => { compile_error!("ty"); };
1616
| ^^^^^^^^^^^^^^^^^^^^
@@ -21,7 +21,7 @@ LL | demo! { dyn const Trait }
2121
= note: this error originates in the macro `demo` (in Nightly builds, run with -Z macro-backtrace for more info)
2222

2323
error[E0658]: const trait impls are experimental
24-
--> $DIR/mbe-const-trait-bound-theoretical-regression.rs:15:14
24+
--> $DIR/macro-const-trait-bound-theoretical-regression.rs:15:14
2525
|
2626
LL | demo! { impl const Trait }
2727
| ^^^^^
@@ -31,7 +31,7 @@ LL | demo! { impl const Trait }
3131
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
3232

3333
error[E0658]: const trait impls are experimental
34-
--> $DIR/mbe-const-trait-bound-theoretical-regression.rs:18:13
34+
--> $DIR/macro-const-trait-bound-theoretical-regression.rs:18:13
3535
|
3636
LL | demo! { dyn const Trait }
3737
| ^^^^^

0 commit comments

Comments
 (0)