mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 21:13:37 +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)]
|
||||
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