@@ -21,8 +21,6 @@ const_eval_closure_call =
21
21
closures need an RFC before allowed to be called in { const_eval_const_context } s
22
22
const_eval_closure_fndef_not_const =
23
23
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
26
24
27
25
const_eval_consider_dereferencing =
28
26
consider dereferencing here
@@ -239,18 +237,18 @@ const_eval_non_const_await =
239
237
cannot convert `{ $ty } ` into a future in { const_eval_const_context } s
240
238
241
239
const_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
243
241
244
242
const_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
246
244
.note = attempting to deref into `{ $target_ty } `
247
245
.target_note = deref defined here
248
246
249
247
const_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
251
249
252
250
const_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
254
252
255
253
const_eval_non_const_for_loop_into_iter =
256
254
cannot use `for` loop on `{ $ty } ` in { const_eval_const_context } s
@@ -259,13 +257,13 @@ const_eval_non_const_impl =
259
257
impl defined here, but it is not `const`
260
258
261
259
const_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
263
261
264
262
const_eval_non_const_match_eq = cannot match on `{ $ty } ` in { const_eval_const_context } s
265
263
.note = `{ $ty } ` cannot be compared in compile-time, and therefore cannot be used in `match`es
266
264
267
265
const_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
269
267
270
268
const_eval_non_const_question_branch =
271
269
`?` is not allowed on `{ $ty } ` in { const_eval_const_context } s
0 commit comments