Fix typo in const stability error message
This commit is contained in:
parent
f94018810c
commit
626d3ba514
8 changed files with 17 additions and 17 deletions
|
@ -416,7 +416,7 @@ const_eval_unsized_local = unsized locals are not supported
|
|||
const_eval_unstable_const_fn = `{$def_path}` is not yet stable as a const fn
|
||||
const_eval_unstable_in_stable_exposed =
|
||||
const function that might be (indirectly) exposed to stable cannot use `#[feature({$gate})]`
|
||||
.is_function_call = mark the callee as `#[rustc_const_stable_indirect]` if it does not itself require any unsafe features
|
||||
.is_function_call = mark the callee as `#[rustc_const_stable_indirect]` if it does not itself require any unstable features
|
||||
.unstable_sugg = if the {$is_function_call2 ->
|
||||
[true] caller
|
||||
*[false] function
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue