]> git.proxmox.com Git - rustc.git/blame - src/test/ui/kindck/kindck-send-unsafe.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / kindck / kindck-send-unsafe.stderr
CommitLineData
b7449926 1error[E0277]: `*mut &'a isize` cannot be sent between threads safely
e1599b0c 2 --> $DIR/kindck-send-unsafe.rs:6:19
b7449926 3 |
e1599b0c 4LL | fn assert_send<T:Send>() { }
ba9703b0 5 | ---- required by this bound in `assert_send`
e1599b0c 6...
b7449926 7LL | assert_send::<*mut &'a isize>();
e1599b0c 8 | ^^^^^^^^^^^^^^ `*mut &'a isize` cannot be sent between threads safely
b7449926
XL
9 |
10 = help: the trait `std::marker::Send` is not implemented for `*mut &'a isize`
b7449926
XL
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0277`.