rust/compiler/rustc_mir_build/src
Giacomo Pasini b3a47d9b6b
Desugars drop and replace at MIR build
This commit desugars the drop and replace deriving from an
assignment at MIR build, avoiding the construction of the
DropAndReplace terminator (which will be removed in a followign PR)

In order to retain the same error messages for replaces a new
DesugaringKind::Replace variant is introduced.
2023-03-03 16:33:11 +01:00
..
build Desugars drop and replace at MIR build 2023-03-03 16:33:11 +01:00
thir Rollup merge of #108516 - clubby789:rustc-box-restrict, r=compiler-errors 2023-03-02 07:24:00 +01:00
check_unsafety.rs Don't trim path for unsafe_op_in_unsafe_fn lints 2023-01-03 00:28:54 +01:00
errors.rs Restrict #[rustc_box] to Box::new calls 2023-03-02 02:42:19 +00:00
lib.rs Move THIR printing to rustc_mir_build. 2023-02-26 14:31:15 +00:00
lints.rs Stop using BREAK & CONTINUE in compiler 2023-01-17 23:17:51 -08:00