Skip to content

Commit e5318f3

Browse files
committed
MetadataOnlyCodegenBackend: remove is_inline call
This function has no side effects, and its result is ignored.
1 parent c075e24 commit e5318f3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/librustc_codegen_utils/codegen_backend.rs

-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ impl CodegenBackend for MetadataOnlyCodegenBackend {
144144
if let MonoItem::Fn(inst) = mono_item {
145145
let def_id = inst.def_id();
146146
if def_id.is_local() {
147-
let _ = inst.def.is_inline(tcx);
148147
let _ = tcx.codegen_fn_attrs(def_id);
149148
}
150149
}

0 commit comments

Comments
 (0)