mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
Fix lower_generics rustdocs
This commit is contained in:
parent
2ade55d908
commit
15f2b119b1
@ -1296,9 +1296,8 @@ impl<'hir> LoweringContext<'_, 'hir> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Creates a new `hir::GenericParam` for every new `Fresh` lifetime and
|
/// Return the pair of the lowered `generics` as `hir::Generics` and the evaluation of `f` with
|
||||||
/// universal `impl Trait` type parameter encountered while evaluating `f`.
|
/// the carried impl trait definitions and bounds.
|
||||||
/// Definitions are created with the provided `parent_def_id`.
|
|
||||||
fn lower_generics<T>(
|
fn lower_generics<T>(
|
||||||
&mut self,
|
&mut self,
|
||||||
generics: &Generics,
|
generics: &Generics,
|
||||||
|
Loading…
Reference in New Issue
Block a user