]> git.lizzy.rs Git - rust.git/blob - src/test/ui/kindck/kindck-send-owned.stderr
Compress amount of hashed bytes for `isize` values in StableHasher
[rust.git] / src / test / ui / kindck / kindck-send-owned.stderr
1 error[E0277]: `*mut u8` cannot be sent between threads safely
2   --> $DIR/kindck-send-owned.rs:12:5
3    |
4 LL |     assert_send::<Box<*mut u8>>();
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*mut u8` cannot be sent between threads safely
6    |
7    = help: the trait `Send` is not implemented for `*mut u8`
8    = note: required because of the requirements on the impl of `Send` for `Unique<*mut u8>`
9    = note: required because it appears within the type `Box<*mut u8>`
10 note: required by a bound in `assert_send`
11   --> $DIR/kindck-send-owned.rs:3:18
12    |
13 LL | fn assert_send<T:Send>() { }
14    |                  ^^^^ required by this bound in `assert_send`
15
16 error: aborting due to previous error
17
18 For more information about this error, try `rustc --explain E0277`.