Skip to content

Commit 465af38

Browse files
committed
modified: compiler/rustc_mir_transform/src/stack_protector.rs
1 parent 6bfe9d7 commit 465af38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_mir_transform/src/stack_protector.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ impl<'tcx> crate::MirPass<'tcx> for StackProtectorFinder {
5555
// }
5656

5757
let ret = &fn_abi.ret;
58-
if matches!(&ret.mode, PassMode::Indirect { attrs: _, meta_attrs: _, on_stack: false }) {
58+
if matches!(&ret.mode, PassMode::Indirect { attrs: _, meta_attrs: _, on_stack: false}) {
5959
tcx.stack_protector.borrow_mut().insert(def_id);
6060
return;
6161
}

0 commit comments

Comments
 (0)