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