Skip to content

Commit

Permalink
rustup
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Oct 4, 2022
1 parent d8f9923 commit 98f7b1e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
acb8934fd57b3c2740c4abac0a5728c2c9b1423b
ead49f0beb7e36007aeed59f862f10f72b889c59
1 change: 0 additions & 1 deletion tests/fail/invalid_bool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Make sure we find these even with many checks disabled.
//@compile-flags: -Zmiri-disable-alignment-check -Zmiri-disable-stacked-borrows -Zmiri-disable-validation


fn main() {
let b = unsafe { std::mem::transmute::<u8, bool>(2) };
let _x = b == std::hint::black_box(true); //~ ERROR: interpreting an invalid 8-bit value as a bool
Expand Down
4 changes: 3 additions & 1 deletion tests/pass/issues/issue-miri-2433.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#![feature(type_alias_impl_trait)]

trait T { type Item; }
trait T {
type Item;
}

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

Expand Down

0 comments on commit 98f7b1e

Please sign in to comment.