2294: Publicise GenericParams r=matklad a=matklad



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
bors[bot] 2019-11-18 07:36:27 +00:00 committed by GitHub
commit 5e75ded9fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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.