diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-06-22 19:33:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-22 19:33:56 +0200 |
| commit | dc9a08f53504c616b8394ca1ee5c759d7ce5b4b5 (patch) | |
| tree | 94ab0efb1f9de3e9c532492117c51e7dd4d32b51 /compiler/rustc_feature/src | |
| parent | 162120b4fa85639960c9fc28cb7c9444c20e5017 (diff) | |
| parent | 81da6a6d400ee333b397d47abe33da64d959e0e5 (diff) | |
| download | rust-dc9a08f53504c616b8394ca1ee5c759d7ce5b4b5.tar.gz rust-dc9a08f53504c616b8394ca1ee5c759d7ce5b4b5.zip | |
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`
Diffstat (limited to 'compiler/rustc_feature/src')
| -rw-r--r-- | compiler/rustc_feature/src/unstable.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_feature/src/unstable.rs b/compiler/rustc_feature/src/unstable.rs index 45527bec2f2..fbd67657e3b 100644 --- a/compiler/rustc_feature/src/unstable.rs +++ b/compiler/rustc_feature/src/unstable.rs @@ -449,7 +449,7 @@ declare_features! ( /// Allows `dyn* Trait` objects. (incomplete, dyn_star, "1.65.0", Some(102425)), /// Uses generic effect parameters for ~const bounds - (unstable, effects, "1.72.0", Some(102090)), + (incomplete, effects, "1.72.0", Some(102090)), /// Allows exhaustive pattern matching on types that contain uninhabited types. (unstable, exhaustive_patterns, "1.13.0", Some(51085)), /// Allows explicit tail calls via `become` expression. |
