Skip to content

Commit 880bde0

Browse files
committed
Inline SubstFolder::tcx
1 parent 0e6251d commit 880bde0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_middle/src/ty/subst.rs

+1
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,7 @@ struct SubstFolder<'a, 'tcx> {
525525
}
526526

527527
impl<'a, 'tcx> TypeFolder<'tcx> for SubstFolder<'a, 'tcx> {
528+
#[inline]
528529
fn tcx<'b>(&'b self) -> TyCtxt<'tcx> {
529530
self.tcx
530531
}

0 commit comments

Comments
 (0)