We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ade55d commit 15f2b11Copy full SHA for 15f2b11
compiler/rustc_ast_lowering/src/item.rs
@@ -1296,9 +1296,8 @@ impl<'hir> LoweringContext<'_, 'hir> {
1296
}
1297
1298
1299
- /// Creates a new `hir::GenericParam` for every new `Fresh` lifetime and
1300
- /// universal `impl Trait` type parameter encountered while evaluating `f`.
1301
- /// Definitions are created with the provided `parent_def_id`.
+ /// Return the pair of the lowered `generics` as `hir::Generics` and the evaluation of `f` with
+ /// the carried impl trait definitions and bounds.
1302
fn lower_generics<T>(
1303
&mut self,
1304
generics: &Generics,
0 commit comments