fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: `Rc<()>` cannot be sent between threads safely 2 --> $DIR/issue-21763.rs:11:11 3 | 4LL | foo::<HashMap<Rc<()>, Rc<()>>>(); 5 | ^^^^^^^^^^^^^^^^^^^^^^^ `Rc<()>` cannot be sent between threads safely 6 | 7 = help: within `(Rc<()>, Rc<()>)`, the trait `Send` is not implemented for `Rc<()>` 8 = note: required because it appears within the type `(Rc<()>, Rc<()>)` 9 = note: required for `hashbrown::raw::RawTable<(Rc<()>, Rc<()>)>` to implement `Send` 10note: required because it appears within the type `HashMap<Rc<()>, Rc<()>, RandomState>` 11 --> $HASHBROWN_SRC_LOCATION 12note: required because it appears within the type `HashMap<Rc<()>, Rc<()>>` 13 --> $SRC_DIR/std/src/collections/hash/map.rs:LL:COL 14note: required by a bound in `foo` 15 --> $DIR/issue-21763.rs:8:11 16 | 17LL | fn foo<T: Send>() {} 18 | ^^^^ required by this bound in `foo` 19 20error: aborting due to previous error 21 22For more information about this error, try `rustc --explain E0277`.