-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Miri tests fail with debug assertions enabled #99605
Comments
Oh yeah my bad I forgot to double-check that (which can return EDIT: you should also test with some |
What would those situations look like? |
Looks like pub trait Foo {
fn foo(&self);
}
struct Bar;
impl Foo for Bar {
#[track_caller]
fn foo(&self) {}
}
which is the
|
You are right, that used to ICE mentioning a |
I thought I had tested the debug assertions that I added in #99420, but it seems I hadn't tested them on enough code, because they do actually fail, for example:
That's this assertion:
rust/compiler/rustc_const_eval/src/interpret/terminator.rs
Line 600 in 41419e7
failing on this code:
@eddyb looks like the check you proposed does not always hold?
The text was updated successfully, but these errors were encountered: