move repr(transparent) checks to coherence
This commit is contained in:
parent
c067324637
commit
b9435056a7
6 changed files with 19 additions and 19 deletions
|
@ -1209,6 +1209,13 @@ pub(crate) struct CoercePointeeNotTransparent {
|
|||
pub span: Span,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(hir_analysis_coerce_pointee_no_field, code = E0802)]
|
||||
pub(crate) struct CoercePointeeNoField {
|
||||
#[primary_span]
|
||||
pub span: Span,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(hir_analysis_inherent_ty_outside_relevant, code = E0390)]
|
||||
#[help]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue