]> git.lizzy.rs Git - rust.git/blob - tests/ui/kindck/kindck-send-unsafe.stderr
Rollup merge of #106797 - FawazTirmizi:dev/issues/104284, r=bjorn3
[rust.git] / tests / ui / kindck / kindck-send-unsafe.stderr
1 error[E0277]: `*mut &'a isize` cannot be sent between threads safely
2   --> $DIR/kindck-send-unsafe.rs:6:19
3    |
4 LL |     assert_send::<*mut &'a isize>();
5    |                   ^^^^^^^^^^^^^^ `*mut &'a isize` cannot be sent between threads safely
6    |
7    = help: the trait `Send` is not implemented for `*mut &'a isize`
8 note: required by a bound in `assert_send`
9   --> $DIR/kindck-send-unsafe.rs:3:18
10    |
11 LL | fn assert_send<T:Send>() { }
12    |                  ^^^^ required by this bound in `assert_send`
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0277`.