rename the trait to validity and place a feature gate afront
This commit is contained in:
parent
de405dcb8f
commit
c067324637
10 changed files with 43 additions and 26 deletions
|
@ -1195,6 +1195,13 @@ pub(crate) struct CoercePointeeNotConcreteType {
|
|||
pub span: Span,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(hir_analysis_coerce_pointee_no_user_validity_assertion, code = E0802)]
|
||||
pub(crate) struct CoercePointeeNoUserValidityAssertion {
|
||||
#[primary_span]
|
||||
pub span: Span,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(hir_analysis_coerce_pointee_not_transparent, code = E0802)]
|
||||
pub(crate) struct CoercePointeeNotTransparent {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue