]> git.proxmox.com Git - rustc.git/blame - src/test/ui/error-codes/E0277-2.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / error-codes / E0277-2.stderr
CommitLineData
8faf50e0 1error[E0277]: `*const u8` cannot be sent between threads safely
0731742a 2 --> $DIR/E0277-2.rs:16:5
2c00a5a8 3 |
e1599b0c 4LL | fn is_send<T: Send>() { }
ba9703b0 5 | ---- required by this bound in `is_send`
e1599b0c 6...
0531ce1d 7LL | is_send::<Foo>();
2c00a5a8
XL
8 | ^^^^^^^^^^^^^^ `*const u8` cannot be sent between threads safely
9 |
1b1a35ee 10 = help: within `Foo`, the trait `Send` is not implemented for `*const u8`
2c00a5a8
XL
11 = note: required because it appears within the type `Baz`
12 = note: required because it appears within the type `Bar`
13 = note: required because it appears within the type `Foo`
2c00a5a8
XL
14
15error: aborting due to previous error
16
0531ce1d 17For more information about this error, try `rustc --explain E0277`.