auto merge of #13898 : nikomatsakis/rust/type-bounds-b, r=acrichto

This is needed to bootstrap fix for #5723.
This commit is contained in:
bors 2014-05-04 03:41:50 -07:00
commit de99da3fa5
13 changed files with 91 additions and 17 deletions

View file

@ -349,7 +349,8 @@ pub enum TyParamBound {
impl Clean<TyParamBound> for ast::TyParamBound {
fn clean(&self) -> TyParamBound {
match *self {
ast::RegionTyParamBound => RegionBound,
ast::StaticRegionTyParamBound => RegionBound,
ast::OtherRegionTyParamBound(_) => RegionBound,
ast::TraitTyParamBound(ref t) => TraitBound(t.clean()),
}
}