We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c246363 commit 771105eCopy full SHA for 771105e
compiler/rustc_ast_lowering/src/lib.rs
@@ -254,7 +254,7 @@ impl ResolverAstLowering {
254
///
255
/// The extra lifetimes that appear from the parenthesized `Fn`-trait desugaring
256
/// should appear at the enclosing `PolyTraitRef`.
257
- fn extra_lifetime_params(&mut self, id: NodeId) -> Vec<(Ident, NodeId, LifetimeRes)> {
+ fn extra_lifetime_params(&self, id: NodeId) -> Vec<(Ident, NodeId, LifetimeRes)> {
258
self.extra_lifetime_params_map.get(&id).cloned().unwrap_or_default()
259
}
260
0 commit comments