mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
Publicise GenericParams
See https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/Exposing.20GenericParam.2Ename
This commit is contained in:
parent
076921c5c7
commit
9df3d2e775
1 changed files with 3 additions and 3 deletions
|
@ -22,9 +22,9 @@ use crate::{
|
|||
#[derive(Clone, PartialEq, Eq, Debug)]
|
||||
pub struct GenericParam {
|
||||
// FIXME: give generic params proper IDs
|
||||
pub(crate) idx: u32,
|
||||
pub(crate) name: Name,
|
||||
pub(crate) default: Option<Path>,
|
||||
pub idx: u32,
|
||||
pub name: Name,
|
||||
pub default: Option<Path>,
|
||||
}
|
||||
|
||||
/// Data about the generic parameters of a function, struct, impl, etc.
|
||||
|
|
Loading…
Reference in a new issue