fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0277]: `std::rc::Rc<u32>` cannot be sent between threads safely 2 --> $DIR/trait-alias-cross-crate.rs:14:17 3 | 4LL | fn use_alias<T: SendSync>() {} 5 | --------- -------- required by this bound in `use_alias` 6... 7LL | use_alias::<Rc<u32>>(); 8 | ^^^^^^^ `std::rc::Rc<u32>` cannot be sent between threads safely 9 | 10 = help: the trait `std::marker::Send` is not implemented for `std::rc::Rc<u32>` 11 12error[E0277]: `std::rc::Rc<u32>` cannot be shared between threads safely 13 --> $DIR/trait-alias-cross-crate.rs:14:17 14 | 15LL | fn use_alias<T: SendSync>() {} 16 | --------- -------- required by this bound in `use_alias` 17... 18LL | use_alias::<Rc<u32>>(); 19 | ^^^^^^^ `std::rc::Rc<u32>` cannot be shared between threads safely 20 | 21 = help: the trait `std::marker::Sync` is not implemented for `std::rc::Rc<u32>` 22 23error: aborting due to 2 previous errors 24 25For more information about this error, try `rustc --explain E0277`.