1
Fork 0

Don't report any errors in lower_intrinsics. They should have been typecked before.

This commit is contained in:
Oli Scherer 2023-09-06 09:38:15 +00:00
parent 3767e315ac
commit 65f25fe194
6 changed files with 30 additions and 29 deletions

View file

@ -452,3 +452,10 @@ pub(crate) enum TypeNoCopy<'a, 'tcx> {
#[note(borrowck_ty_no_impl_copy)]
Note { is_partial_move: bool, ty: Ty<'tcx>, place: &'a str },
}
#[derive(Diagnostic)]
#[diag(borrowck_simd_shuffle_last_const)]
pub(crate) struct SimdShuffleLastConst {
#[primary_span]
pub span: Span,
}