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 f76bb9d commit 29b8fd8Copy full SHA for 29b8fd8
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