2024-06-21 12:22:29 +00:00
|
|
|
warning: the feature `effects` is incomplete and may not be safe to use and/or cause compiler crashes
|
|
|
|
|
--> $DIR/const-default-impl-non-const-specialized-impl.rs:3:30
|
|
|
|
|
|
|
|
|
|
|
LL | #![feature(const_trait_impl, effects)]
|
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
|
|
|
= note: see issue #102090 <https://github.com/rust-lang/rust/issues/102090> for more information
|
|
|
|
|
= note: `#[warn(incomplete_features)]` on by default
|
|
|
|
|
|
2024-06-30 17:08:45 +00:00
|
|
|
error: using `#![feature(effects)]` without enabling next trait solver globally
|
|
|
|
|
|
|
|
|
|
|
= note: the next trait solver must be enabled globally for the effects feature to work correctly
|
|
|
|
|
= help: use `-Znext-solver` to enable
|
|
|
|
|
|
2022-09-13 22:18:14 -05:00
|
|
|
error: cannot specialize on const impl with non-const impl
|
2022-11-06 01:07:06 -05:00
|
|
|
--> $DIR/const-default-impl-non-const-specialized-impl.rs:19:1
|
2022-03-24 19:24:40 -05:00
|
|
|
|
|
2022-09-13 22:18:14 -05:00
|
|
|
LL | impl Value for FortyTwo {
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
2022-03-24 19:24:40 -05:00
|
|
|
|
2024-06-30 17:08:45 +00:00
|
|
|
error: aborting due to 2 previous errors; 1 warning emitted
|
2022-03-24 19:24:40 -05:00
|
|
|
|