Migrate NonConstOp diagnostic
This commit is contained in:
parent
934079fd9e
commit
1c4afbd1de
3 changed files with 12 additions and 7 deletions
|
@ -19,3 +19,10 @@ pub(crate) struct UnstableInStable {
|
|||
)]
|
||||
pub attr_span: Span,
|
||||
}
|
||||
|
||||
#[derive(SessionDiagnostic)]
|
||||
#[error(const_eval::thread_local_access, code = "E0625")]
|
||||
pub(crate) struct NonConstOpErr {
|
||||
#[primary_span]
|
||||
pub span: Span,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue