update Generics iter methods to return GenericParamId

This commit is contained in:
dfireBird 2024-03-09 01:08:35 +05:30
parent d6e3929841
commit a6c8cbfd91
No known key found for this signature in database
GPG key ID: 26D522CA5FC2B93D
7 changed files with 181 additions and 111 deletions

View file

@ -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(