Fix typos in compiler
This commit is contained in:
parent
a73288371e
commit
677357d32b
71 changed files with 140 additions and 136 deletions
|
@ -95,7 +95,7 @@ pub struct OversizedSimdType<'tcx> {
|
|||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(ty_utils_non_primative_simd_type)]
|
||||
#[diag(ty_utils_non_primitive_simd_type)]
|
||||
pub struct NonPrimitiveSimdType<'tcx> {
|
||||
pub ty: Ty<'tcx>,
|
||||
pub e_ty: Ty<'tcx>,
|
||||
|
|
|
@ -322,7 +322,7 @@ fn layout_of_uncached<'tcx>(
|
|||
if fi.ty(tcx, substs) != f0_ty {
|
||||
tcx.sess.delay_span_bug(
|
||||
DUMMY_SP,
|
||||
"#[repr(simd)] was applied to an ADT with hetrogeneous field type",
|
||||
"#[repr(simd)] was applied to an ADT with heterogeneous field type",
|
||||
);
|
||||
return Err(LayoutError::Unknown(ty));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue