]> git.lizzy.rs Git - rust.git/blob - src/test/ui/kindck/kindck-send-unsafe.rs
Merge commit '2b2190cb5667cdd276a24ef8b9f3692209c54a89' into clippyup
[rust.git] / src / test / ui / kindck / kindck-send-unsafe.rs
1 extern crate core;
2
3 fn assert_send<T:Send>() { }
4
5 fn test71<'a>() {
6     assert_send::<*mut &'a isize>();
7     //~^ ERROR `*mut &'a isize` cannot be sent between threads safely
8 }
9
10 fn main() {
11 }