about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2021-09-29 19:33:39 -0700
committerGitHub <noreply@github.com>2021-09-29 19:33:39 -0700
commitc5f8675291de47c5a189b750feb8cd2c3fef6f73 (patch)
treeded416035cfedbef2b5a38990a41c7023d293c4b /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parent8dfe52293a61aaa4ff44b20d538c52ddc7834617 (diff)
parentcd0873b50276bca8bfcaf8d12beeb28d3fffb692 (diff)
downloadrust-c5f8675291de47c5a189b750feb8cd2c3fef6f73.tar.gz
rust-c5f8675291de47c5a189b750feb8cd2c3fef6f73.zip
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:
https://github.com/rust-lang/rust/blob/2b6ed3b675475abc01ce7e68bb75b457f0c85684/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.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions