rust/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
..
bootstrap Rollup merge of #142459 - Shourya742:2025-06-11-remove-output-helper, r=Kobzol 2025-06-13 20:59:21 -07:00
build_helper Extract target no-std hack to build_helpers 2025-06-10 22:10:10 +08:00
ci Auto merge of #142483 - workingjubilee:rollup-8qnhueh, r=workingjubilee 2025-06-14 04:58:22 +00:00
doc Rollup merge of #141811 - mejrs:bye_locals, r=compiler-errors 2025-06-14 11:27:10 +02:00
etc Rename build to host_target 2025-06-10 19:44:06 +02:00
gcc@04ce66d8c9 Update src/gcc submodule to 04ce66d8c918de9273bd7101638ad8724edf5e21 2025-05-14 18:02:02 +02:00
librustdoc Rollup merge of #141399 - GuillaumeGomez:extracted-doctest, r=aDotInTheVoid 2025-06-14 11:27:09 +02:00
llvm-project@c1118fdbb3 Update to LLVM 20.1.5 2025-05-16 08:34:16 +08:00
rustc-std-workspace update rustc-std-workspace crates 2024-11-04 07:45:15 +01:00
rustdoc-json-types rustdoc-json-type: Depend on serde and serde_derive seperately 2025-06-03 21:17:33 +00:00
tools Rollup merge of #141811 - mejrs:bye_locals, r=compiler-errors 2025-06-14 11:27:10 +02:00
README.md
stage0 Bump master stage0 compiler 2025-05-27 20:36:00 +08:00
version bump version number to 1.89.0 2025-05-09 11:13:08 +02:00

This directory contains some source code for the Rust project, including:

  • The bootstrapping build system
  • Various submodules for tools, like cargo, tidy, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.