mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-24 21:53:56 +00:00
don't inline report_overlap_conflict
This commit is contained in:
parent
1296719c06
commit
f55ff4103f
@ -291,6 +291,11 @@ pub(super) fn specialization_graph_provider(
|
||||
sg
|
||||
}
|
||||
|
||||
// This function is only used when
|
||||
// encountering errors and inlining
|
||||
// it negatively impacts perf.
|
||||
#[cold]
|
||||
#[inline(never)]
|
||||
fn report_overlap_conflict(
|
||||
tcx: TyCtxt<'_>,
|
||||
overlap: OverlapError,
|
||||
|
Loading…
Reference in New Issue
Block a user