We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00f06a1 commit 41b0bc1Copy full SHA for 41b0bc1
compiler/rustc_middle/src/ty/trait_def.rs
@@ -118,6 +118,7 @@ impl<'tcx> TyCtxt<'tcx> {
118
/// Iterate over every impl that could possibly match the self type `self_ty`.
119
///
120
/// `trait_def_id` MUST BE the `DefId` of a trait.
121
+ #[inline(always)]
122
pub fn for_each_relevant_impl(
123
self,
124
trait_def_id: DefId,
@@ -132,6 +133,7 @@ impl<'tcx> TyCtxt<'tcx> {
132
133
)
134
}
135
136
137
pub fn for_each_relevant_impl_treating_projections(
138
139
0 commit comments