You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const_eval_validation_box_to_mut = {$front_matter}: encountered a box pointing to mutable memory in a constant
407
407
const_eval_validation_box_to_static = {$front_matter}: encountered a box pointing to a static variable in a constant
408
408
const_eval_validation_box_to_uninhabited = {$front_matter}: encountered a box pointing to uninhabited type {$ty}
409
-
const_eval_validation_dangling_box_no_provenance = {$front_matter}: encountered a dangling box ({$pointer} has no provenance)
410
-
const_eval_validation_dangling_box_out_of_bounds = {$front_matter}: encountered a dangling box (going beyond the bounds of its allocation)
411
-
const_eval_validation_dangling_box_use_after_free = {$front_matter}: encountered a dangling box (use-after-free)
412
-
const_eval_validation_dangling_ref_no_provenance = {$front_matter}: encountered a dangling reference ({$pointer} has no provenance)
413
-
const_eval_validation_dangling_ref_out_of_bounds = {$front_matter}: encountered a dangling reference (going beyond the bounds of its allocation)
414
-
const_eval_validation_dangling_ref_use_after_free = {$front_matter}: encountered a dangling reference (use-after-free)
409
+
const_eval_validation_dangling_no_provenance = {$front_matter}: encountered a dangling {$ptr_kind->
410
+
[box] box
411
+
*[ref] reference
412
+
} ({$pointer} has no provenance)
413
+
const_eval_validation_dangling_out_of_bounds = {$front_matter}: encountered a dangling {$ptr_kind->
414
+
[box] box
415
+
*[ref] reference
416
+
} (going beyond the bounds of its allocation)
417
+
const_eval_validation_dangling_use_after_free = {$front_matter}: encountered a dangling {$ptr_kind->
418
+
[box] box
419
+
*[ref] reference
420
+
} (use-after-free)
415
421
416
422
const_eval_validation_expected_bool = expected a boolean
417
423
const_eval_validation_expected_box = expected a box
@@ -429,14 +435,10 @@ const_eval_validation_front_matter_invalid_value = constructing invalid value
429
435
const_eval_validation_front_matter_invalid_value_with_path = constructing invalid value at {$path}
430
436
431
437
const_eval_validation_invalid_bool = {$front_matter}: encountered {$value}, but expected a boolean
432
-
const_eval_validation_invalid_box_meta = {$front_matter}: encountered invalid box metadata: total size is bigger than largest supported object
433
-
const_eval_validation_invalid_box_slice_meta = {$front_matter}: encountered invalid box metadata: slice is bigger than largest supported object
434
438
const_eval_validation_invalid_char = {$front_matter}: encountered {$value}, but expected a valid unicode scalar value (in `0..=0x10FFFF` but not in `0xD800..=0xDFFF`)
435
439
436
440
const_eval_validation_invalid_enum_tag = {$front_matter}: encountered {$value}, but expected a valid enum tag
437
441
const_eval_validation_invalid_fn_ptr = {$front_matter}: encountered {$value}, but expected a function pointer
438
-
const_eval_validation_invalid_ref_meta = {$front_matter}: encountered invalid reference metadata: total size is bigger than largest supported object
439
-
const_eval_validation_invalid_ref_slice_meta = {$front_matter}: encountered invalid reference metadata: slice is bigger than largest supported object
440
442
const_eval_validation_invalid_vtable_ptr = {$front_matter}: encountered {$value}, but expected a vtable pointer
441
443
const_eval_validation_mutable_ref_in_const = {$front_matter}: encountered mutable reference in a `const`
442
444
const_eval_validation_never_val = {$front_matter}: encountered a value of the never type `!`
@@ -448,11 +450,30 @@ const_eval_validation_out_of_range = {$front_matter}: encountered {$value}, but
448
450
const_eval_validation_partial_pointer = {$front_matter}: encountered a partial pointer or a mix of pointers
449
451
const_eval_validation_pointer_as_int = {$front_matter}: encountered a pointer, but {$expected}
450
452
const_eval_validation_ptr_out_of_range = {$front_matter}: encountered a pointer, but expected something that cannot possibly fail to be {$in_range}
451
-
const_eval_validation_ref_to_mut = {$front_matter}: encountered a reference pointing to mutable memory in a constant
452
-
const_eval_validation_ref_to_static = {$front_matter}: encountered a reference pointing to a static variable in a constant
453
-
const_eval_validation_ref_to_uninhabited = {$front_matter}: encountered a reference pointing to uninhabited type {$ty}
454
-
const_eval_validation_unaligned_box = {$front_matter}: encountered an unaligned box (required {$required_bytes} byte alignment but found {$found_bytes})
455
-
const_eval_validation_unaligned_ref = {$front_matter}: encountered an unaligned reference (required {$required_bytes} byte alignment but found {$found_bytes})
453
+
const_eval_validation_ptr_to_mut = {$front_matter}: encountered a {$ptr_kind->
454
+
[box] box
455
+
*[ref] reference
456
+
} pointing to mutable memory in a constant
457
+
const_eval_validation_ptr_to_static = {$front_matter}: encountered a {$ptr_kind->
458
+
[box] box
459
+
*[ref] reference
460
+
} pointing to a static variable in a constant
461
+
const_eval_validation_ptr_to_uninhabited = {$front_matter}: encountered a {$ptr_kind->
0 commit comments