use rustc_ast::{InlineAsmOptions, InlineAsmTemplatePiece};
use rustc_hir as hir;
-use rustc_hir::def::CtorKind;
use rustc_hir::def_id::DefId;
use rustc_hir::RangeEnd;
use rustc_index::newtype_index;
// Only for Adt we can have `S {...}`,
// which we handle separately here.
- if variant.ctor_kind == CtorKind::Fictive {
+ if variant.ctor.is_none() {
write!(f, " {{ ")?;
let mut printed = 0;