Skip to content

Commit b8e9da7

Browse files
committed
asm! output can neither be promotable nor const
1 parent 3750348 commit b8e9da7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/librustc_mir/transform/promote_consts.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ impl<'tcx> Visitor<'tcx> for TempCollector<'tcx> {
101101
if *temp == TempState::Undefined {
102102
match context {
103103
PlaceContext::MutatingUse(MutatingUseContext::Store) |
104-
PlaceContext::MutatingUse(MutatingUseContext::AsmOutput) |
105104
PlaceContext::MutatingUse(MutatingUseContext::Call) => {
106105
*temp = TempState::Defined {
107106
location,

0 commit comments

Comments
 (0)