rust/tests/ui/consts/miri_unleashed
bors 0534655d9b Auto merge of #108504 - cjgillot:thir-pattern, r=compiler-errors,Nilstrieb
Check pattern refutability on THIR

The current `check_match` query is based on HIR, but partially re-lowers HIR into THIR.
This PR proposed to use the results of the `thir_body` query to check matches, instead of re-building THIR.

Most of the diagnostic changes are spans getting shorter, or commas/semicolons not getting removed.

This PR degrades the diagnostic for confusing constants in patterns (`let A = foo()` where `A` resolves to a `const A` somewhere): it does not point ot the definition of `const A` any more.
2023-04-06 12:42:01 +00:00
..
auxiliary Move /src/test to /tests 2023-01-11 09:32:08 +00:00
abi-mismatch.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
abi-mismatch.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assoc_const_2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assoc_const_2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assoc_const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assoc_const.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
box.rs Remove uses of box_syntax in rustc and tools 2023-03-12 13:19:46 +00:00
box.stderr Remove uses of box_syntax in rustc and tools 2023-03-12 13:19:46 +00:00
const_refers_to_static_cross_crate.32bit.stderr Perform match checking on THIR. 2023-04-03 15:59:21 +00:00
const_refers_to_static_cross_crate.64bit.stderr Perform match checking on THIR. 2023-04-03 15:59:21 +00:00
const_refers_to_static_cross_crate.rs Perform match checking on THIR. 2023-04-03 15:59:21 +00:00
const_refers_to_static.32bit.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_refers_to_static.64bit.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const_refers_to_static.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
drop.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
drop.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-unleash_the_miri_inside_of_you.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
feature-gate-unleash_the_miri_inside_of_you.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inline_asm.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inline_asm.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mutable_references_err.32bit.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mutable_references_err.64bit.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mutable_references_err.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mutable_references.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mutable_references.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mutating_global.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mutating_global.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
non_const_fn.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
non_const_fn.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ptr_arith.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ptr_arith.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
raw_mutable_const.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
raw_mutable_const.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
slice_eq.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tls.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
tls.stderr Bless tests 2023-04-05 15:59:29 +00:00