We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfd5bfe commit c2adc2eCopy full SHA for c2adc2e
src/tools/miri/rust-version
@@ -1 +1 @@
1
-acb8934fd57b3c2740c4abac0a5728c2c9b1423b
+e42c4d7218b2596276152c5eb1e69335621f3086
src/tools/miri/tests/fail/invalid_bool.rs
@@ -2,7 +2,6 @@
2
// Make sure we find these even with many checks disabled.
3
//@compile-flags: -Zmiri-disable-alignment-check -Zmiri-disable-stacked-borrows -Zmiri-disable-validation
4
5
-
6
fn main() {
7
let b = unsafe { std::mem::transmute::<u8, bool>(2) };
8
let _x = b == std::hint::black_box(true); //~ ERROR: interpreting an invalid 8-bit value as a bool
src/tools/miri/tests/pass/issues/issue-miri-2433.rs
@@ -1,6 +1,8 @@
#![feature(type_alias_impl_trait)]
-trait T { type Item; }
+trait T {
+ type Item;
+}
type Alias<'a> = impl T<Item = &'a ()>;
0 commit comments