You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rollup merge of #126552 - fee1-dead-contrib:rmfx, r=compiler-errors
Remove use of const traits (and `feature(effects)`) from stdlib
The current uses are already unsound because they are using non-const impls in const contexts. We can reintroduce them by reverting the commit in this PR, after #120639 lands.
Also, make `effects` an incomplete feature.
cc `@rust-lang/project-const-traits`
r? `@compiler-errors`
warning: the feature `effects` is incomplete and may not be safe to use and/or cause compiler crashes
2
+
--> $DIR/const_trait_fn-issue-88433.rs:3:30
3
+
|
4
+
LL | #![feature(const_trait_impl, effects)]
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
0 commit comments