Skip to content

Commit 2d397ec

Browse files
authored
Rollup merge of #141811 - mejrs:bye_locals, r=compiler-errors
Unimplement unsized_locals Implements rust-lang/compiler-team#630 Tracking issue here: rust-lang/rust#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
2 parents aaca654 + de6ce41 commit 2d397ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/implementing_new_features.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ a new unstable feature:
156156
[`incomplete_features` lint]: https://doc.rust-lang.org/rustc/lints/listing/warn-by-default.html#incomplete-features
157157

158158
```rust ignore
159-
/// Allows unsized rvalues at arguments and parameters.
160-
(incomplete, unsized_locals, "CURRENT_RUSTC_VERSION", Some(48055), None),
159+
/// Allows deref patterns.
160+
(incomplete, deref_patterns, "CURRENT_RUSTC_VERSION", Some(87121), None),
161161
```
162162

163163
To avoid [semantic merge conflicts], please use `CURRENT_RUSTC_VERSION` instead of `1.70` or

0 commit comments

Comments
 (0)