rust/compiler/rustc_feature/src
Matthias Krüger db23a76217
Rollup merge of #141811 - mejrs:bye_locals, r=compiler-errors
Unimplement unsized_locals

Implements https://github.com/rust-lang/compiler-team/issues/630

Tracking issue here: https://github.com/rust-lang/rust/issues/111942

Note that this just removes the feature, not the implementation, and does not touch `unsized_fn_params`. This is because it is required to support `Box<dyn FnOnce()>: FnOnce()`.

There may be more that should be removed (possibly in follow up prs)
- the `forget_unsized` function and `forget` intrinsic.
- the `unsized_locals` test directory; I've just fixed up the tests for now
- various codegen support for unsized values and allocas

cc ``@JakobDegen`` ``@oli-obk`` ``@Noratrieb`` ``@programmerjake`` ``@bjorn3``

``@rustbot`` label F-unsized_locals

Fixes rust-lang/rust#79409
2025-06-14 11:27:10 +02:00
..
accepted.rs Rollup merge of #140766 - sayantn:stabilize-keylocker, r=traviscross,tgross35 2025-06-10 16:54:46 +02:00
builtin_attrs.rs Remove rustc_feature::Stability 2025-06-09 11:44:52 +02:00
lib.rs Remove rustc_feature::Stability 2025-06-09 11:44:52 +02:00
removed.rs Unimplement unsized_locals 2025-06-13 01:16:36 +02:00
tests.rs rustc_feature: Avoid unsafe std::env::set_var() in UnstableFeatures tests 2025-01-08 11:37:19 +01:00
unstable.rs Rollup merge of #141811 - mejrs:bye_locals, r=compiler-errors 2025-06-14 11:27:10 +02:00