We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0986978 commit 0a0b470Copy full SHA for 0a0b470
compiler/rustc_middle/src/ty/mod.rs
@@ -2400,7 +2400,11 @@ impl<'tcx> TyCtxt<'tcx> {
2400
/// `Span` before it was changed. This is used today only to be able to identify `Span`s coming
2401
/// from a proc-macro even when it was modified, to avoid giving spurious suggestions when the
2402
/// `Span` points at an attribute and not user code.
2403
+ #[inline(always)]
2404
pub fn mark_span_for_resize(self, span: Span) -> Span {
2405
+ if true {
2406
+ return span;
2407
+ }
2408
self.with_stable_hashing_context(|hcx| {
2409
span.mark_with_reason(None, rustc_span::DesugaringKind::Resize, span.edition(), hcx)
2410
})
0 commit comments