@@ -6,7 +6,7 @@ use crate::{itemlikevisit, LangItem};
66
77use rustc_ast:: util:: parser:: ExprPrecedence ;
88use rustc_ast:: { self as ast, CrateSugar , LlvmAsmDialect } ;
9- use rustc_ast:: { Attribute , FloatTy , IntTy , Label , LitKind , StrStyle , UintTy } ;
9+ use rustc_ast:: { Attribute , FloatTy , IntTy , Label , LitKind , StrStyle , TraitObjectSyntax , UintTy } ;
1010pub use rustc_ast:: { BorrowKind , ImplPolarity , IsAuto } ;
1111pub use rustc_ast:: { CaptureBy , Movability , Mutability } ;
1212use rustc_ast:: { InlineAsmOptions , InlineAsmTemplatePiece } ;
@@ -2327,7 +2327,7 @@ pub enum TyKind<'hir> {
23272327 OpaqueDef ( ItemId , & ' hir [ GenericArg < ' hir > ] ) ,
23282328 /// A trait object type `Bound1 + Bound2 + Bound3`
23292329 /// where `Bound` is a trait or a lifetime.
2330- TraitObject ( & ' hir [ PolyTraitRef < ' hir > ] , Lifetime ) ,
2330+ TraitObject ( & ' hir [ PolyTraitRef < ' hir > ] , Lifetime , TraitObjectSyntax ) ,
23312331 /// Unused for now.
23322332 Typeof ( AnonConst ) ,
23332333 /// `TyKind::Infer` means the type should be inferred instead of it having been
0 commit comments