|
1 |
| -error: expected identifier, found `<eof>` |
2 |
| - --> $DIR/mbe-const-trait-bound-theoretical-regression.rs:13:14 |
| 1 | +error: ty |
| 2 | + --> $DIR/mbe-const-trait-bound-theoretical-regression.rs:8:19 |
3 | 3 | |
|
4 | 4 | LL | ($ty:ty) => { compile_error!("ty"); };
|
5 |
| - | ------ while parsing argument for this `ty` macro fragment |
| 5 | + | ^^^^^^^^^^^^^^^^^^^^ |
6 | 6 | ...
|
7 |
| -LL | demo! { impl const } |
8 |
| - | ^^^^^ expected identifier |
| 7 | +LL | demo! { impl const Trait } |
| 8 | + | -------------------------- in this macro invocation |
| 9 | + | |
| 10 | + = note: this error originates in the macro `demo` (in Nightly builds, run with -Z macro-backtrace for more info) |
9 | 11 |
|
10 |
| -error: expected identifier, found `<eof>` |
11 |
| - --> $DIR/mbe-const-trait-bound-theoretical-regression.rs:16:13 |
| 12 | +error: ty |
| 13 | + --> $DIR/mbe-const-trait-bound-theoretical-regression.rs:8:19 |
12 | 14 | |
|
13 | 15 | LL | ($ty:ty) => { compile_error!("ty"); };
|
14 |
| - | ------ while parsing argument for this `ty` macro fragment |
| 16 | + | ^^^^^^^^^^^^^^^^^^^^ |
15 | 17 | ...
|
16 |
| -LL | demo! { dyn const } |
17 |
| - | ^^^^^ expected identifier |
| 18 | +LL | demo! { dyn const Trait } |
| 19 | + | ------------------------- in this macro invocation |
| 20 | + | |
| 21 | + = note: this error originates in the macro `demo` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 22 | + |
| 23 | +error[E0658]: const trait impls are experimental |
| 24 | + --> $DIR/mbe-const-trait-bound-theoretical-regression.rs:15:14 |
| 25 | + | |
| 26 | +LL | demo! { impl const Trait } |
| 27 | + | ^^^^^ |
| 28 | + | |
| 29 | + = note: see issue #67792 <https://github.com/rust-lang/rust/issues/67792> for more information |
| 30 | + = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable |
| 31 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
18 | 32 |
|
19 | 33 | error[E0658]: const trait impls are experimental
|
20 |
| - --> $DIR/mbe-const-trait-bound-theoretical-regression.rs:16:13 |
| 34 | + --> $DIR/mbe-const-trait-bound-theoretical-regression.rs:18:13 |
21 | 35 | |
|
22 |
| -LL | demo! { dyn const } |
| 36 | +LL | demo! { dyn const Trait } |
23 | 37 | | ^^^^^
|
24 | 38 | |
|
25 | 39 | = note: see issue #67792 <https://github.com/rust-lang/rust/issues/67792> for more information
|
26 | 40 | = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable
|
27 | 41 | = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
28 | 42 |
|
29 |
| -error: aborting due to 3 previous errors |
| 43 | +error: aborting due to 4 previous errors |
30 | 44 |
|
31 | 45 | For more information about this error, try `rustc --explain E0658`.
|
0 commit comments