Remove dead code related to old closures.
This commit is contained in:
parent
ab9c773cdb
commit
50a370aa2d
4 changed files with 16 additions and 113 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue