2025-09-10 21:40:24 +02:00
|
|
|
error: ty
|
|
|
|
|
--> $DIR/macro-const-trait-bound-theoretical-regression.rs:11:19
|
2023-12-18 17:55:55 +01:00
|
|
|
|
|
2025-09-10 21:40:24 +02:00
|
|
|
LL | ($ty:ty) => { compile_error!("ty"); }; // KEEP THIS RULE FIRST AND AS IS!
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
2023-12-18 17:55:55 +01:00
|
|
|
...
|
2025-07-24 17:10:39 +02:00
|
|
|
LL | demo! { impl const Trait }
|
2025-09-10 21:40:24 +02:00
|
|
|
| -------------------------- in this macro invocation
|
2024-02-20 16:09:03 +00:00
|
|
|
|
|
|
|
|
|
= note: this error originates in the macro `demo` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
|
|
2025-09-10 21:40:24 +02:00
|
|
|
error: ty
|
|
|
|
|
--> $DIR/macro-const-trait-bound-theoretical-regression.rs:11:19
|
2025-07-30 16:33:59 -05:00
|
|
|
|
|
2025-09-10 21:40:24 +02:00
|
|
|
LL | ($ty:ty) => { compile_error!("ty"); }; // KEEP THIS RULE FIRST AND AS IS!
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
2025-07-30 16:33:59 -05:00
|
|
|
...
|
|
|
|
|
LL | demo! { dyn const Trait }
|
2025-09-10 21:40:24 +02:00
|
|
|
| ------------------------- in this macro invocation
|
2025-07-30 16:33:59 -05:00
|
|
|
|
|
2025-09-10 21:40:24 +02:00
|
|
|
= note: this error originates in the macro `demo` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
|
|
|
|
|
|
error: ty
|
|
|
|
|
--> $DIR/macro-const-trait-bound-theoretical-regression.rs:11:19
|
|
|
|
|
|
|
|
|
|
|
LL | ($ty:ty) => { compile_error!("ty"); }; // KEEP THIS RULE FIRST AND AS IS!
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
...
|
|
|
|
|
LL | demo! { impl [const] Trait }
|
|
|
|
|
| ---------------------------- in this macro invocation
|
|
|
|
|
|
|
|
|
|
|
= note: this error originates in the macro `demo` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
|
|
|
|
|
|
error: ty
|
|
|
|
|
--> $DIR/macro-const-trait-bound-theoretical-regression.rs:11:19
|
|
|
|
|
|
|
|
|
|
|
LL | ($ty:ty) => { compile_error!("ty"); }; // KEEP THIS RULE FIRST AND AS IS!
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
...
|
|
|
|
|
LL | demo! { dyn [const] Trait }
|
|
|
|
|
| --------------------------- in this macro invocation
|
|
|
|
|
|
|
|
|
|
|
= note: this error originates in the macro `demo` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2025-07-30 16:33:59 -05:00
|
|
|
|
2024-02-20 16:09:03 +00:00
|
|
|
error[E0658]: const trait impls are experimental
|
2025-09-10 21:40:24 +02:00
|
|
|
--> $DIR/macro-const-trait-bound-theoretical-regression.rs:26:14
|
2024-02-20 16:09:03 +00:00
|
|
|
|
|
|
|
|
|
LL | demo! { impl const Trait }
|
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
2025-07-13 16:21:25 +08:00
|
|
|
= note: see issue #143874 <https://github.com/rust-lang/rust/issues/143874> for more information
|
2024-02-20 16:09:03 +00:00
|
|
|
= help: add `#![feature(const_trait_impl)]` to the crate attributes to enable
|
|
|
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
2023-12-18 17:55:55 +01:00
|
|
|
|
2025-09-10 21:40:24 +02:00
|
|
|
error[E0658]: const trait impls are experimental
|
|
|
|
|
--> $DIR/macro-const-trait-bound-theoretical-regression.rs:27:13
|
2023-12-18 17:55:55 +01:00
|
|
|
|
|
2025-09-10 21:40:24 +02:00
|
|
|
LL | demo! { dyn const Trait }
|
|
|
|
|
| ^^^^^
|
2023-12-18 17:55:55 +01:00
|
|
|
|
|
2025-09-10 21:40:24 +02:00
|
|
|
= note: see issue #143874 <https://github.com/rust-lang/rust/issues/143874> for more information
|
|
|
|
|
= help: add `#![feature(const_trait_impl)]` to the crate attributes to enable
|
|
|
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
|
|
|
|
|
|
error[E0658]: const trait impls are experimental
|
|
|
|
|
--> $DIR/macro-const-trait-bound-theoretical-regression.rs:29:14
|
|
|
|
|
|
|
|
|
|
|
LL | demo! { impl [const] Trait }
|
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
|
|
|
= note: see issue #143874 <https://github.com/rust-lang/rust/issues/143874> for more information
|
|
|
|
|
= help: add `#![feature(const_trait_impl)]` to the crate attributes to enable
|
|
|
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
|
|
|
|
|
|
error[E0658]: const trait impls are experimental
|
|
|
|
|
--> $DIR/macro-const-trait-bound-theoretical-regression.rs:30:13
|
2025-07-24 17:10:39 +02:00
|
|
|
|
|
2025-09-10 21:40:24 +02:00
|
|
|
LL | demo! { dyn [const] Trait }
|
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
|
|
|
= note: see issue #143874 <https://github.com/rust-lang/rust/issues/143874> for more information
|
|
|
|
|
= help: add `#![feature(const_trait_impl)]` to the crate attributes to enable
|
|
|
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
2023-12-18 17:55:55 +01:00
|
|
|
|
2025-09-10 21:40:24 +02:00
|
|
|
error: aborting due to 8 previous errors
|
2023-12-18 17:55:55 +01:00
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0658`.
|