Open
Description
With a stderr like this
full stderr:
error[E0080]: evaluation of constant value failed
--> tests/fail/const-ub-checks.rs:6:9
|
LL | ptr.read();
| ^^^^^^^^^^ accessing memory with alignment 1, but alignment 4 is required
I'd like to be able to match not only against "evaluation of constant value failed", but also against "accessing memory with alignment 1, but alignment 4 is required", to ensure that it actually detected the right kind of problem.
This is a prerequisite for #2200.