rust-analyzer: Rename LayoutS to LayoutData
This commit is contained in:
parent
9015c6deca
commit
2a9239a105
@ -6,7 +6,7 @@
|
||||
use chalk_ir::{AdtId, FloatTy, IntTy, TyKind, UintTy};
|
||||
use hir_def::{
|
||||
layout::{
|
||||
Abi, FieldsShape, Float, Integer, LayoutCalculator, LayoutCalculatorError, LayoutS,
|
||||
Abi, FieldsShape, Float, Integer, LayoutCalculator, LayoutCalculatorError, LayoutData,
|
||||
Primitive, ReprOptions, Scalar, Size, StructKind, TargetDataLayout, WrappingRange,
|
||||
},
|
||||
LocalFieldId, StructId,
|
||||
@ -66,7 +66,7 @@ fn index(self) -> usize {
|
||||
}
|
||||
}
|
||||
|
||||
pub type Layout = LayoutS<RustcFieldIdx, RustcEnumVariantIdx>;
|
||||
pub type Layout = LayoutData<RustcFieldIdx, RustcEnumVariantIdx>;
|
||||
pub type TagEncoding = hir_def::layout::TagEncoding<RustcEnumVariantIdx>;
|
||||
pub type Variants = hir_def::layout::Variants<RustcFieldIdx, RustcEnumVariantIdx>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user