ast: remove done TODOs
This commit is contained in:
parent
77db95791a
commit
3f8c2b6267
@ -65,7 +65,6 @@ pub struct Const {
|
|||||||
pub name: Identifier,
|
pub name: Identifier,
|
||||||
pub ty: Box<Ty>,
|
pub ty: Box<Ty>,
|
||||||
pub init: Box<Expr>,
|
pub init: Box<Expr>,
|
||||||
// TODO: Type path in const
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Stores a `static` variable
|
/// Stores a `static` variable
|
||||||
@ -75,7 +74,6 @@ pub struct Static {
|
|||||||
pub name: Identifier,
|
pub name: Identifier,
|
||||||
pub ty: Box<Ty>,
|
pub ty: Box<Ty>,
|
||||||
pub init: Box<Expr>,
|
pub init: Box<Expr>,
|
||||||
// TODO: Type path in static
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Stores a collection of [Items](Item)
|
/// Stores a collection of [Items](Item)
|
||||||
@ -157,9 +155,9 @@ pub enum VariantKind {
|
|||||||
pub struct Impl {
|
pub struct Impl {
|
||||||
pub target: Ty,
|
pub target: Ty,
|
||||||
pub body: Vec<Item>,
|
pub body: Vec<Item>,
|
||||||
// TODO: `impl` <Target> { }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// TODO: `impl` Trait for <Target> { }
|
||||||
#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
|
#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
|
||||||
pub enum ImplKind {
|
pub enum ImplKind {
|
||||||
Type(Box<Ty>),
|
Type(Box<Ty>),
|
||||||
|
Loading…
Reference in New Issue
Block a user