Skip to content

Commit 49bc90a

Browse files
committed
Remove unrelated change
1 parent 32e51e8 commit 49bc90a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

compiler/rustc_mir_transform/src/check_inline.rs

-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ use rustc_middle::mir::{Body, TerminatorKind};
88
use rustc_middle::ty;
99
use rustc_middle::ty::TyCtxt;
1010
use rustc_span::sym;
11-
use tracing::debug;
1211

1312
use crate::pass_manager::MirLint;
1413

@@ -41,9 +40,7 @@ pub(super) fn is_inline_valid_on_fn<'tcx>(
4140
tcx: TyCtxt<'tcx>,
4241
def_id: DefId,
4342
) -> Result<(), &'static str> {
44-
debug!("is_inline_valid_on_fn({def_id:?})");
4543
let codegen_attrs = tcx.codegen_fn_attrs(def_id);
46-
debug!(" codegen_attrs: {codegen_attrs:?}");
4744
if tcx.has_attr(def_id, sym::rustc_no_mir_inline) {
4845
return Err("#[rustc_no_mir_inline]");
4946
}

0 commit comments

Comments
 (0)