Don't report any errors in lower_intrinsics
. They should have been typecked before.
This commit is contained in:
parent
3767e315ac
commit
65f25fe194
6 changed files with 30 additions and 29 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue