Skip to content

Commit

Permalink
Auto merge of rust-lang#2371 - RalfJung:rustup, r=RalfJung
Browse files Browse the repository at this point in the history
rustup

Cc rust-lang#99224
  • Loading branch information
bors committed Jul 14, 2022
2 parents af2c50f + 11f2b83 commit 6f6e01e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c396bb3b8a16b1f2762b7c6078dc3e023f6a2493
cbb07c27a4d78f95557a6b9cdcc32f98d67a0c22
5 changes: 1 addition & 4 deletions tests/pass/concurrency/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,8 @@ fn park_unpark() {
// know Miri's timed synchronization primitives do not do that.

assert!((200..1000).contains(&start.elapsed().as_millis()));
}

fn check_condvar() {
let _ = std::sync::Condvar::new();
t2.join().unwrap();
}

fn main() {
Expand All @@ -236,5 +234,4 @@ fn main() {
check_once();
park_timeout();
park_unpark();
check_condvar();
}
2 changes: 0 additions & 2 deletions tests/pass/union-overwrite.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(untagged_unions)]

#[repr(C)]
#[derive(Clone, Copy)]
struct Pair<T, U>(T, U);
Expand Down
3 changes: 1 addition & 2 deletions tests/pass/union.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![feature(untagged_unions)]

fn main() {
a();
b();
Expand All @@ -22,6 +20,7 @@ fn a() {
}

fn b() {
#[derive(Copy, Clone)]
struct S {
x: u32,
y: u32,
Expand Down

0 comments on commit 6f6e01e

Please sign in to comment.