require const_impl_trait gate for all conditional and trait const calls
This commit is contained in:
parent
62bb2ac03e
commit
822762c966
13 changed files with 249 additions and 389 deletions
|
@ -25,6 +25,10 @@ const_eval_closure_fndef_not_const =
|
|||
function defined here, but it is not `const`
|
||||
const_eval_closure_non_const =
|
||||
cannot call non-const closure in {const_eval_const_context}s
|
||||
|
||||
const_eval_conditionally_const_call =
|
||||
cannot call conditionally-const {$def_descr} `{$def_path_str}` in {const_eval_const_context}s
|
||||
|
||||
const_eval_consider_dereferencing =
|
||||
consider dereferencing here
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue