Aleksey Kladov 2019-11-18 10:35:33 +03:00
parent 076921c5c7
commit 9df3d2e775

View file

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