We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8b2222 commit febd3b9Copy full SHA for febd3b9
1 file changed
compiler/rustc_mir_transform/src/inline.rs
@@ -607,7 +607,6 @@ fn try_inlining<'tcx, I: Inliner<'tcx>>(
607
let callee_attrs = callee_attrs.as_ref();
608
check_inline::is_inline_valid_on_fn(tcx, callsite.callee.def_id())?;
609
check_codegen_attributes(inliner, callsite, callee_attrs)?;
610
- inliner.check_codegen_attributes_extra(callee_attrs)?;
611
612
let terminator = caller_body[callsite.block].terminator.as_ref().unwrap();
613
let TerminatorKind::Call { args, destination, .. } = &terminator.kind else { bug!() };
0 commit comments