mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
update Generics
iter methods to return GenericParamId
This commit is contained in:
parent
d6e3929841
commit
a6c8cbfd91
7 changed files with 181 additions and 111 deletions
|
@ -337,7 +337,7 @@ pub(crate) fn make_binders_with_count<T: HasInterner<Interner = Interner>>(
|
|||
generics: &Generics,
|
||||
value: T,
|
||||
) -> Binders<T> {
|
||||
let it = generics.iter_id_with_lt().take(count);
|
||||
let it = generics.iter_id().take(count);
|
||||
|
||||
Binders::new(
|
||||
VariableKinds::from_iter(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue