@@ -6,7 +6,7 @@ use crate::{itemlikevisit, LangItem};
6
6
7
7
use rustc_ast:: util:: parser:: ExprPrecedence ;
8
8
use 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 } ;
10
10
pub use rustc_ast:: { BorrowKind , ImplPolarity , IsAuto } ;
11
11
pub use rustc_ast:: { CaptureBy , Movability , Mutability } ;
12
12
use rustc_ast:: { InlineAsmOptions , InlineAsmTemplatePiece } ;
@@ -2327,7 +2327,7 @@ pub enum TyKind<'hir> {
2327
2327
OpaqueDef ( ItemId , & ' hir [ GenericArg < ' hir > ] ) ,
2328
2328
/// A trait object type `Bound1 + Bound2 + Bound3`
2329
2329
/// where `Bound` is a trait or a lifetime.
2330
- TraitObject ( & ' hir [ PolyTraitRef < ' hir > ] , Lifetime ) ,
2330
+ TraitObject ( & ' hir [ PolyTraitRef < ' hir > ] , Lifetime , TraitObjectSyntax ) ,
2331
2331
/// Unused for now.
2332
2332
Typeof ( AnonConst ) ,
2333
2333
/// `TyKind::Infer` means the type should be inferred instead of it having been
0 commit comments