mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-06 02:08:49 +00:00
Auto merge of #3597 - rust-lang:rustup-2024-05-11, r=RalfJung
Automatic Rustup
This commit is contained in:
commit
a65c09f34e
1 changed files with 6 additions and 6 deletions
|
@ -6,8 +6,8 @@ use base_db::salsa::Cycle;
|
||||||
use chalk_ir::{AdtId, FloatTy, IntTy, TyKind, UintTy};
|
use chalk_ir::{AdtId, FloatTy, IntTy, TyKind, UintTy};
|
||||||
use hir_def::{
|
use hir_def::{
|
||||||
layout::{
|
layout::{
|
||||||
Abi, FieldsShape, Integer, LayoutCalculator, LayoutS, Primitive, ReprOptions, Scalar, Size,
|
Abi, FieldsShape, Float, Integer, LayoutCalculator, LayoutS, Primitive, ReprOptions,
|
||||||
StructKind, TargetDataLayout, WrappingRange,
|
Scalar, Size, StructKind, TargetDataLayout, WrappingRange,
|
||||||
},
|
},
|
||||||
LocalFieldId, StructId,
|
LocalFieldId, StructId,
|
||||||
};
|
};
|
||||||
|
@ -264,10 +264,10 @@ pub fn layout_of_ty_query(
|
||||||
),
|
),
|
||||||
chalk_ir::Scalar::Float(f) => scalar(
|
chalk_ir::Scalar::Float(f) => scalar(
|
||||||
dl,
|
dl,
|
||||||
match f {
|
Primitive::Float(match f {
|
||||||
FloatTy::F32 => Primitive::F32,
|
FloatTy::F32 => Float::F32,
|
||||||
FloatTy::F64 => Primitive::F64,
|
FloatTy::F64 => Float::F64,
|
||||||
},
|
}),
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
TyKind::Tuple(len, tys) => {
|
TyKind::Tuple(len, tys) => {
|
||||||
|
|
Loading…
Reference in a new issue