mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
rust-analyzer: Rename LayoutS to LayoutData
This commit is contained in:
parent
9015c6deca
commit
2a9239a105
@ -6,7 +6,7 @@ use base_db::ra_salsa::Cycle;
|
||||
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 @@ impl rustc_index::Idx for RustcFieldIdx {
|
||||
}
|
||||
}
|
||||
|
||||
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