Format late arrivals with rustfmt

This commit is contained in:
David Tolnay 2022-06-23 12:50:44 -07:00
parent 2cbc461389
commit a23eb46b5b
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
3 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,7 @@
#![feature(c_unwind)]
extern "C" fn panic_abort() { //~ ERROR: the program aborted
extern "C" fn panic_abort() {
//~ ERROR: the program aborted
panic!()
}

View File

@ -10,7 +10,7 @@ extern crate libc;
use std::{mem, ptr};
extern "C-unwind" fn thread_start(_null: *mut libc::c_void) -> *mut libc::c_void {
//~^ ERROR unwinding past the topmost frame of the stack
//~^ ERROR unwinding past the topmost frame of the stack
panic!()
}

View File

@ -2,7 +2,7 @@
// We are making scheduler assumptions here.
// compile-flags: -Zmiri-strict-provenance -Zmiri-preemption-rate=0
use std::sync::{Condvar, Mutex, Arc};
use std::sync::{Arc, Condvar, Mutex};
use std::thread;
fn check_conditional_variables_notify_all() {