auto merge of #13898 : nikomatsakis/rust/type-bounds-b, r=acrichto
This is needed to bootstrap fix for #5723.
This commit is contained in:
commit
de99da3fa5
13 changed files with 91 additions and 17 deletions
|
|
@ -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()),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue