mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-28 05:53:45 +00:00
Merge #2294
2294: Publicise GenericParams r=matklad a=matklad Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
5e75ded9fc
1 changed files with 3 additions and 3 deletions
|
@ -22,9 +22,9 @@ use crate::{
|
||||||
#[derive(Clone, PartialEq, Eq, Debug)]
|
#[derive(Clone, PartialEq, Eq, Debug)]
|
||||||
pub struct GenericParam {
|
pub struct GenericParam {
|
||||||
// FIXME: give generic params proper IDs
|
// FIXME: give generic params proper IDs
|
||||||
pub(crate) idx: u32,
|
pub idx: u32,
|
||||||
pub(crate) name: Name,
|
pub name: Name,
|
||||||
pub(crate) default: Option<Path>,
|
pub default: Option<Path>,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Data about the generic parameters of a function, struct, impl, etc.
|
/// Data about the generic parameters of a function, struct, impl, etc.
|
||||||
|
|
Loading…
Reference in a new issue