Test fixes and rebase conflicts, round 3
This commit is contained in:
parent
50b3ecf3bc
commit
72f59732d7
18 changed files with 156 additions and 153 deletions
|
|
@ -15,13 +15,14 @@
|
|||
use std::{fs, net};
|
||||
|
||||
fn assert_both<T: Send + Sync>() {}
|
||||
fn assert_send<T: Send>() {}
|
||||
|
||||
fn main() {
|
||||
assert_both::<fs::File>();
|
||||
assert_both::<fs::Metadata>();
|
||||
assert_both::<fs::ReadDir>();
|
||||
assert_both::<fs::DirEntry>();
|
||||
assert_both::<fs::WalkDir>();
|
||||
assert_send::<fs::WalkDir>();
|
||||
assert_both::<fs::OpenOptions>();
|
||||
assert_both::<fs::Permissions>();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue