Skip to content

Commit 5af8b71

Browse files
committed
Auto merge of #2371 - RalfJung:rustup, r=RalfJung
rustup Cc rust-lang/rust#99224
2 parents af2c50f + adf7e56 commit 5af8b71

File tree

4 files changed

+3
-9
lines changed

4 files changed

+3
-9
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c396bb3b8a16b1f2762b7c6078dc3e023f6a2493
1+
cbb07c27a4d78f95557a6b9cdcc32f98d67a0c22

tests/pass/concurrency/sync.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,8 @@ fn park_unpark() {
219219
// know Miri's timed synchronization primitives do not do that.
220220

221221
assert!((200..1000).contains(&start.elapsed().as_millis()));
222-
}
223222

224-
fn check_condvar() {
225-
let _ = std::sync::Condvar::new();
223+
t2.join.unwrap();
226224
}
227225

228226
fn main() {
@@ -236,5 +234,4 @@ fn main() {
236234
check_once();
237235
park_timeout();
238236
park_unpark();
239-
check_condvar();
240237
}

tests/pass/union-overwrite.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(untagged_unions)]
2-
31
#[repr(C)]
42
#[derive(Clone, Copy)]
53
struct Pair<T, U>(T, U);

tests/pass/union.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(untagged_unions)]
2-
31
fn main() {
42
a();
53
b();
@@ -22,6 +20,7 @@ fn a() {
2220
}
2321

2422
fn b() {
23+
#[derive(Copy, Clone)]
2524
struct S {
2625
x: u32,
2726
y: u32,

0 commit comments

Comments
 (0)