Files
rust/tests/ui/rfcs/rfc-2632-const-trait-impl/specializing-constness.stderr

18 lines
665 B
Plaintext
Raw Normal View History

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
error: cannot specialize on const impl with non-const impl
2023-04-16 11:12:37 +00:00
--> $DIR/specializing-constness.rs:23:1
|
2023-04-16 11:12:37 +00:00
LL | impl<T: Spec + Sup> A for T {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
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