Skip to content

Commit 2a9239a

Browse files
rust-analyzer: Rename LayoutS to LayoutData
1 parent 9015c6d commit 2a9239a

File tree

1 file changed

+2
-2
lines changed
  • src/tools/rust-analyzer/crates/hir-ty/src

1 file changed

+2
-2
lines changed

src/tools/rust-analyzer/crates/hir-ty/src/layout.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use base_db::ra_salsa::Cycle;
66
use chalk_ir::{AdtId, FloatTy, IntTy, TyKind, UintTy};
77
use hir_def::{
88
layout::{
9-
Abi, FieldsShape, Float, Integer, LayoutCalculator, LayoutCalculatorError, LayoutS,
9+
Abi, FieldsShape, Float, Integer, LayoutCalculator, LayoutCalculatorError, LayoutData,
1010
Primitive, ReprOptions, Scalar, Size, StructKind, TargetDataLayout, WrappingRange,
1111
},
1212
LocalFieldId, StructId,
@@ -66,7 +66,7 @@ impl rustc_index::Idx for RustcFieldIdx {
6666
}
6767
}
6868

69-
pub type Layout = LayoutS<RustcFieldIdx, RustcEnumVariantIdx>;
69+
pub type Layout = LayoutData<RustcFieldIdx, RustcEnumVariantIdx>;
7070
pub type TagEncoding = hir_def::layout::TagEncoding<RustcEnumVariantIdx>;
7171
pub type Variants = hir_def::layout::Variants<RustcFieldIdx, RustcEnumVariantIdx>;
7272

0 commit comments

Comments
 (0)