Skip to content

Commit 1cf1a2e

Browse files
committed
Auto merge of #1673 - RalfJung:rustup, r=RalfJung
rustup; make tests pass again
2 parents 63ad89e + 4a03510 commit 1cf1a2e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a2cd91ceb0f156cb442d75e12dc77c3d064cdde4
1+
4e208f6a3afb42528878b0f3464e337c4bf3bbc8

src/data_race.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -824,8 +824,7 @@ impl VClockAlloc {
824824
// Throw the data-race detection.
825825
throw_ub_format!(
826826
"Data race detected between {} on {} and {} on {}, memory({:?},offset={},size={})\
827-
\n\t\t -current vector clock = {:?}\
828-
\n\t\t -conflicting timestamp = {:?}",
827+
\n(current vector clock = {:?}, conflicting timestamp = {:?})",
829828
action,
830829
current_thread_info,
831830
other_action,

tests/run-pass/concurrency/sync_singlethread.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ impl<T> TryLockErrorExt<T> for TryLockError<T> {
5050
}
5151

5252
fn test_spin_loop_hint() {
53+
#[allow(deprecated)]
5354
atomic::spin_loop_hint();
5455
hint::spin_loop();
5556
}

0 commit comments

Comments
 (0)