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/specializing-constness.rs:1:30
|
|
|
|
|
|
|
|
|
|
|
LL | #![feature(const_trait_impl, effects, min_specialization, rustc_attrs)]
|
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
|
|
|
= note: see issue #102090 <https://github.com/rust-lang/rust/issues/102090> for more information
|
|
|
|
|
= note: `#[warn(incomplete_features)]` on by default
|
|
|
|
|
|
2022-11-06 01:07:06 -05:00
|
|
|
error: cannot specialize on const impl with non-const impl
|
2023-04-16 11:12:37 +00:00
|
|
|
--> $DIR/specializing-constness.rs:23:1
|
2022-11-06 01:07:06 -05:00
|
|
|
|
|
2023-04-16 11:12:37 +00:00
|
|
|
LL | impl<T: Spec + Sup> A for T {
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-11-06 01:07:06 -05:00
|
|
|
|
2024-06-21 12:22:29 +00:00
|
|
|
error: aborting due to 1 previous error; 1 warning emitted
|
2022-09-24 20:15:19 +00:00
|
|
|
|