1
Fork 0

Remove dead code related to old closures.

This commit is contained in:
Eduard Burtescu 2015-01-24 22:06:31 +02:00
parent ab9c773cdb
commit 50a370aa2d
4 changed files with 16 additions and 113 deletions

View file

@ -1237,16 +1237,6 @@ impl fmt::Display for Onceness {
}
}
/// Represents the type of a closure
#[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Show)]
pub struct ClosureTy {
pub lifetimes: Vec<LifetimeDef>,
pub unsafety: Unsafety,
pub onceness: Onceness,
pub decl: P<FnDecl>,
pub bounds: TyParamBounds,
}
#[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Show)]
pub struct BareFnTy {
pub unsafety: Unsafety,