mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Simplify Arena to use a generic index
This commit is contained in:
parent
988f1dda6b
commit
f840fcb2f5
17 changed files with 179 additions and 189 deletions
|
@ -43,7 +43,7 @@ pub enum TypeParamProvenance {
|
|||
/// Data about the generic parameters of a function, struct, impl, etc.
|
||||
#[derive(Clone, PartialEq, Eq, Debug)]
|
||||
pub struct GenericParams {
|
||||
pub types: Arena<LocalTypeParamId, TypeParamData>,
|
||||
pub types: Arena<TypeParamData>,
|
||||
// lifetimes: Arena<LocalLifetimeParamId, LifetimeParamData>,
|
||||
pub where_predicates: Vec<WherePredicate>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue