don't inline report_overlap_conflict
This commit is contained in:
parent
1296719c06
commit
f55ff4103f
1 changed files with 5 additions and 0 deletions
|
@ -291,6 +291,11 @@ pub(super) fn specialization_graph_provider(
|
||||||
sg
|
sg
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This function is only used when
|
||||||
|
// encountering errors and inlining
|
||||||
|
// it negatively impacts perf.
|
||||||
|
#[cold]
|
||||||
|
#[inline(never)]
|
||||||
fn report_overlap_conflict(
|
fn report_overlap_conflict(
|
||||||
tcx: TyCtxt<'_>,
|
tcx: TyCtxt<'_>,
|
||||||
overlap: OverlapError,
|
overlap: OverlapError,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue