os-rust/compiler/rustc_mir_build
Eric Huss c5f8675291
Rollup merge of #89311 - FabianWolff:issue-89305, r=oli-obk
Add unit assignment to MIR for `asm!()`

Fixes #89305. `ExprKind::LlvmInlineAsm` gets a `push_assign_unit()` here:
2b6ed3b675/compiler/rustc_mir_build/src/build/expr/into.rs (L475-L479)

The same should probably happen for `ExprKind::InlineAsm`, which fixes the "use of possibly-uninitialized variable" error described in #89305.
2021-09-29 19:33:39 -07:00
..
src Rollup merge of #89311 - FabianWolff:issue-89305, r=oli-obk 2021-09-29 19:33:39 -07:00
Cargo.toml Migrate to 2021 2021-09-20 22:21:42 -04:00