rust/src
Matthias Krüger 576bf82702
Rollup merge of #114022 - oli-obk:tait_ice_alias_field_projection, r=cjgillot
Perform OpaqueCast field projection on HIR, too.

fixes #105819

This is necessary for closure captures in 2021 edition, as they capture individual fields, not the full mentioned variables. So it may try to capture a field of an opaque (because the hidden type is known to be something with a field).

See https://github.com/rust-lang/rust/pull/99806 for when and why we added OpaqueCast to MIR.
2023-08-04 09:18:58 +02:00
..
bootstrap Auto merge of #114305 - lqd:bootstrap-strip, r=ozkanonur 2023-08-04 02:35:50 +00:00
ci Auto merge of #112922 - g0djan:godjan/wasi-threads, r=wesleywiser 2023-08-02 01:01:48 +00:00
doc Add internal_features lint 2023-08-03 14:50:50 +02:00
etc Rollup merge of #113906 - notriddle:notriddle/cargo-extra-env, r=Mark-Simulacrum 2023-07-31 22:49:50 +02:00
librustdoc Auto merge of #114353 - nnethercote:parser-ast-cleanups, r=petrochenkov 2023-08-03 04:26:42 +00:00
llvm-project@a7d11c4537 Update LLVM submodule 2023-07-26 14:55:50 -06:00
rustdoc-json-types Verify that ItemEnum can be serialized and then deserialized using bincode 2023-05-22 18:26:20 +01:00
tools Rollup merge of #114022 - oli-obk:tait_ice_alias_field_projection, r=cjgillot 2023-08-04 09:18:58 +02:00
README.md Remove stale reference to the test suite location 2023-01-13 11:49:06 +00:00
stage0.json Bump bootstrap compiler to latest 2023-07-12 21:26:04 -04:00
version Bump version 2023-07-08 10:35:49 -04: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.