blob: 226295bf949df9696b1a8348ae831c83c3ab5b48 [file] [log] [blame]
Deadbeef81da6a62024-06-21 12:22:291warning: the feature `effects` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/specializing-constness.rs:1:30
3 |
4LL | #![feature(const_trait_impl, effects, min_specialization, rustc_attrs)]
5 | ^^^^^^^
6 |
7 = note: see issue #102090 <https://github.com/rust-lang/rust/issues/102090> for more information
8 = note: `#[warn(incomplete_features)]` on by default
9
Ben Reevesc0ae62e2022-11-06 06:07:0610error: cannot specialize on const impl with non-const impl
Deadbeef4c6ddc02023-04-16 11:12:3711 --> $DIR/specializing-constness.rs:23:1
Ben Reevesc0ae62e2022-11-06 06:07:0612 |
Deadbeef4c6ddc02023-04-16 11:12:3713LL | impl<T: Spec + Sup> A for T {
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Ben Reevesc0ae62e2022-11-06 06:07:0615
Michael Goulet8b7b8e52024-10-22 03:22:5716error: aborting due to 1 previous error; 1 warning emitted
Deadbeef36e8c112022-09-24 20:15:1917