1 use std::path::{Path, PathBuf};
2 use std::sync::atomic::AtomicU32;
7 //~^ ERROR mismatched types
8 //~| HELP call `Into::into` on this expression to convert `B` into `A`
10 let y: Arc<Path> = PathBuf::new();
11 //~^ ERROR mismatched types
12 //~| HELP call `Into::into` on this expression to convert `PathBuf` into `Arc<Path>`
15 //~^ ERROR mismatched types
16 //~| HELP call `Into::into` on this expression to convert `{integer}` into `AtomicU32`
23 fn from(_: B) -> Self {