]> git.lizzy.rs Git - rust.git/blob - src/test/ui/builtin-superkinds/builtin-superkinds-typaram-not-send.stderr
move interface to the unikernel in the crate hermit-abi
[rust.git] / src / test / ui / builtin-superkinds / builtin-superkinds-typaram-not-send.stderr
1 error[E0277]: `T` cannot be sent between threads safely
2   --> $DIR/builtin-superkinds-typaram-not-send.rs:5:24
3    |
4 LL | impl <T: Sync+'static> Foo for T { }
5    |                        ^^^ `T` cannot be sent between threads safely
6    |
7    = help: the trait `std::marker::Send` is not implemented for `T`
8    = help: consider adding a `where T: std::marker::Send` bound
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0277`.