We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ef34d6 commit 8c95207Copy full SHA for 8c95207
compiler/rustc_middle/src/mir/mono.rs
@@ -138,7 +138,7 @@ impl<'tcx> MonoItem<'tcx> {
138
// conflict with upstream crates as it could be an exported
139
// symbol.
140
match tcx.codegen_fn_attrs(instance.def_id()).inline {
141
- InlineAttr::Always | InlineAttr::Usually => InstantiationMode::LocalCopy,
+ InlineAttr::Always => InstantiationMode::LocalCopy,
142
_ => InstantiationMode::GloballyShared { may_conflict: true },
143
}
144
0 commit comments