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
Auto merge of rust-lang#126593 - matthiaskrgr:rollup-a5jfg7w, r=matthiaskrgr
Rollup of 3 pull requests
Successful merges:
- rust-lang#126568 (mark undetermined if target binding in current ns is not got)
- rust-lang#126577 (const_refs_to_static test and cleanup)
- rust-lang#126584 (Do not ICE in privacy when type inference fails.)
r? `@ghost`
`@rustbot` modify labels: rollup
Copy file name to clipboardExpand all lines: compiler/rustc_const_eval/messages.ftl
-2
Original file line number
Diff line number
Diff line change
@@ -399,7 +399,6 @@ const_eval_unwind_past_top =
399
399
400
400
## The `front_matter`s here refer to either `const_eval_front_matter_invalid_value` or `const_eval_front_matter_invalid_value_with_path`.
401
401
## (We'd love to sort this differently to make that more clear but tidy won't let us...)
402
-
const_eval_validation_box_to_static = {$front_matter}: encountered a box pointing to a static variable in a constant
403
402
const_eval_validation_box_to_uninhabited = {$front_matter}: encountered a box pointing to uninhabited type {$ty}
404
403
405
404
const_eval_validation_const_ref_to_extern = {$front_matter}: encountered reference to `extern` static in `const`
@@ -454,7 +453,6 @@ const_eval_validation_out_of_range = {$front_matter}: encountered {$value}, but
454
453
const_eval_validation_partial_pointer = {$front_matter}: encountered a partial pointer or a mix of pointers
455
454
const_eval_validation_pointer_as_int = {$front_matter}: encountered a pointer, but {$expected}
456
455
const_eval_validation_ptr_out_of_range = {$front_matter}: encountered a pointer, but expected something that cannot possibly fail to be {$in_range}
457
-
const_eval_validation_ref_to_static = {$front_matter}: encountered a reference pointing to a static variable in a constant
458
456
const_eval_validation_ref_to_uninhabited = {$front_matter}: encountered a reference pointing to uninhabited type {$ty}
459
457
const_eval_validation_unaligned_box = {$front_matter}: encountered an unaligned box (required {$required_bytes} byte alignment but found {$found_bytes})
460
458
const_eval_validation_unaligned_ref = {$front_matter}: encountered an unaligned reference (required {$required_bytes} byte alignment but found {$found_bytes})
0 commit comments