]> git.proxmox.com Git - rustc.git/blame - src/test/ui/error-codes/E0277-2.stderr
New upstream version 1.25.0+dfsg1
[rustc.git] / src / test / ui / error-codes / E0277-2.stderr
CommitLineData
2c00a5a8
XL
1error[E0277]: the trait bound `*const u8: std::marker::Send` is not satisfied in `Foo`
2 --> $DIR/E0277-2.rs:26:5
3 |
426 | is_send::<Foo>();
5 | ^^^^^^^^^^^^^^ `*const u8` cannot be sent between threads safely
6 |
7 = help: within `Foo`, the trait `std::marker::Send` is not implemented for `*const u8`
8 = note: required because it appears within the type `Baz`
9 = note: required because it appears within the type `Bar`
10 = note: required because it appears within the type `Foo`
11note: required by `is_send`
12 --> $DIR/E0277-2.rs:23:1
13 |
1423 | fn is_send<T: Send>() { }
15 | ^^^^^^^^^^^^^^^^^^^^^
16
17error: aborting due to previous error
18