Skip to content

Commit c2adc2e

Browse files
committed
rustup
1 parent bfd5bfe commit c2adc2e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/tools/miri/rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
acb8934fd57b3c2740c4abac0a5728c2c9b1423b
1+
e42c4d7218b2596276152c5eb1e69335621f3086

src/tools/miri/tests/fail/invalid_bool.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Make sure we find these even with many checks disabled.
33
//@compile-flags: -Zmiri-disable-alignment-check -Zmiri-disable-stacked-borrows -Zmiri-disable-validation
44

5-
65
fn main() {
76
let b = unsafe { std::mem::transmute::<u8, bool>(2) };
87
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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#![feature(type_alias_impl_trait)]
22

3-
trait T { type Item; }
3+
trait T {
4+
type Item;
5+
}
46

57
type Alias<'a> = impl T<Item = &'a ()>;
68

0 commit comments

Comments
 (0)