Skip to content

Commit

Permalink
asm! output can neither be promotable nor const
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Apr 8, 2019
1 parent 3750348 commit b8e9da7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/librustc_mir/transform/promote_consts.rs
Expand Up @@ -101,7 +101,6 @@ impl<'tcx> Visitor<'tcx> for TempCollector<'tcx> {
if *temp == TempState::Undefined {
match context {
PlaceContext::MutatingUse(MutatingUseContext::Store) |
PlaceContext::MutatingUse(MutatingUseContext::AsmOutput) |
PlaceContext::MutatingUse(MutatingUseContext::Call) => {
*temp = TempState::Defined {
location,
Expand Down

0 comments on commit b8e9da7

Please sign in to comment.