Make effects
an incomplete feature
This commit is contained in:
parent
a6a83d3d4e
commit
81da6a6d40
123 changed files with 774 additions and 111 deletions
|
@ -26,5 +26,14 @@ LL | const fn take(_: &dyn ~const NonConst) {}
|
|||
|
|
||||
= note: trait objects cannot have `~const` trait bounds
|
||||
|
||||
error: aborting due to 4 previous errors
|
||||
warning: the feature `effects` is incomplete and may not be safe to use and/or cause compiler crashes
|
||||
--> $DIR/const-trait-bounds-trait-objects.rs:1: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
|
||||
|
||||
error: aborting due to 4 previous errors; 1 warning emitted
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue