Skip to content

Commit 98f7b1e

Browse files
committed
rustup
1 parent d8f9923 commit 98f7b1e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

rust-version

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

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

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)