Migrate NonConstOp diagnostic
This commit is contained in:
parent
934079fd9e
commit
1c4afbd1de
3 changed files with 12 additions and 7 deletions
|
@ -2,3 +2,6 @@ const-eval-unstable-in-stable =
|
|||
const-stable function cannot use `#[feature({$gate})]`
|
||||
.unstable-sugg = if it is not part of the public API, make this function unstably const
|
||||
.bypass-sugg = otherwise `#[rustc_allow_const_fn_unstable]` can be used to bypass stability checks
|
||||
|
||||
const-eval-thread-local-access =
|
||||
thread-local statics cannot be accessed at compile-time
|
Loading…
Add table
Add a link
Reference in a new issue