@@ -21,8 +21,6 @@ const_eval_closure_call =
2121 closures need an RFC before allowed to be called in { const_eval_const_context } s
2222const_eval_closure_fndef_not_const =
2323 function defined here, but it is not `const`
24- const_eval_conditionally_const_call =
25- cannot call conditionally-const { $def_descr } `{ $def_path_str } ` in { const_eval_const_context } s
2624
2725const_eval_consider_dereferencing =
2826 consider dereferencing here
@@ -239,18 +237,18 @@ const_eval_non_const_await =
239237 cannot convert `{ $ty } ` into a future in { const_eval_const_context } s
240238
241239const_eval_non_const_closure =
242- cannot call { $non } -const closure in { const_eval_const_context } s
240+ cannot call { $non_or_conditionally } -const closure in { const_eval_const_context } s
243241
244242const_eval_non_const_deref_coercion =
245- cannot perform { $non } -const deref coercion on `{ $ty } ` in { const_eval_const_context } s
243+ cannot perform { $non_or_conditionally } -const deref coercion on `{ $ty } ` in { const_eval_const_context } s
246244 .note = attempting to deref into `{ $target_ty } `
247245 .target_note = deref defined here
248246
249247const_eval_non_const_fmt_macro_call =
250- cannot call { $non } -const formatting macro in { const_eval_const_context } s
248+ cannot call { $non_or_conditionally } -const formatting macro in { const_eval_const_context } s
251249
252250const_eval_non_const_fn_call =
253- cannot call { $non } -const { $def_descr } `{ $def_path_str } ` in { const_eval_const_context } s
251+ cannot call { $non_or_conditionally } -const { $def_descr } `{ $def_path_str } ` in { const_eval_const_context } s
254252
255253const_eval_non_const_for_loop_into_iter =
256254 cannot use `for` loop on `{ $ty } ` in { const_eval_const_context } s
@@ -259,13 +257,13 @@ const_eval_non_const_impl =
259257 impl defined here, but it is not `const`
260258
261259const_eval_non_const_intrinsic =
262- cannot call { $ non} -const intrinsic `{ $name } ` in { const_eval_const_context } s
260+ cannot call non-const intrinsic `{ $name } ` in { const_eval_const_context } s
263261
264262const_eval_non_const_match_eq = cannot match on `{ $ty } ` in { const_eval_const_context } s
265263 .note = `{ $ty } ` cannot be compared in compile-time, and therefore cannot be used in `match`es
266264
267265const_eval_non_const_operator =
268- cannot call { $non } -const operator in { const_eval_const_context } s
266+ cannot call { $non_or_conditionally } -const operator in { const_eval_const_context } s
269267
270268const_eval_non_const_question_branch =
271269 `?` is not allowed on `{ $ty } ` in { const_eval_const_context } s
0 commit comments