address review
This commit is contained in:
@@ -42,8 +42,8 @@ use rustc_query_system::ich::StableHashingContext;
|
||||
use rustc_session::cstore::CrateStoreDyn;
|
||||
use rustc_span::symbol::{kw, sym, Ident, Symbol};
|
||||
use rustc_span::Span;
|
||||
use rustc_target::abi::Align;
|
||||
pub use subst::*;
|
||||
use rustc_target::abi::{Align, VariantIdx};
|
||||
pub use vtable::*;
|
||||
|
||||
use std::fmt::Debug;
|
||||
@@ -2453,3 +2453,10 @@ pub struct FoundRelationships {
|
||||
/// _>::AssocType = ?T`
|
||||
pub output: bool,
|
||||
}
|
||||
|
||||
/// The constituent parts of a type level constant of kind ADT or array.
|
||||
#[derive(Copy, Clone, Debug, HashStable)]
|
||||
pub struct DestructuredConst<'tcx> {
|
||||
pub variant: Option<VariantIdx>,
|
||||
pub fields: &'tcx [ty::Const<'tcx>],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user