1 fn send<T: Send>(_: T) {}
2 fn sync<T: Sync>(_: T) {}
5 // `Cell` is not `Sync`, so `&Cell` is neither `Sync` nor `Send`,
6 // `std::fmt::Arguments` used to forget this...
7 let c = std::cell::Cell::new(42);
8 send(format_args!("{:?}", c)); //~ ERROR E0277
9 sync(format_args!("{:?}", c)); //~ ERROR E0277