1
Fork 0

require const_impl_trait gate for all conditional and trait const calls

This commit is contained in:
Ralf Jung 2024-11-09 22:19:35 +01:00
parent 62bb2ac03e
commit 822762c966
13 changed files with 249 additions and 389 deletions

View file

@ -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