We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
report_overlap_conflict
1 parent 1296719 commit f55ff41Copy full SHA for f55ff41
1 file changed
compiler/rustc_trait_selection/src/traits/specialize/mod.rs
@@ -291,6 +291,11 @@ pub(super) fn specialization_graph_provider(
291
sg
292
}
293
294
+// This function is only used when
295
+// encountering errors and inlining
296
+// it negatively impacts perf.
297
+#[cold]
298
+#[inline(never)]
299
fn report_overlap_conflict(
300
tcx: TyCtxt<'_>,
301
overlap: OverlapError,
0 commit comments