mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
12 lines
192 B
Rust
12 lines
192 B
Rust
extern crate core;
|
|
|
|
fn assert_send<T:Send>() { }
|
|
|
|
fn test71<'a>() {
|
|
assert_send::<*mut &'a isize>();
|
|
//~^ ERROR `*mut &'a isize` cannot be sent between threads safely
|
|
}
|
|
|
|
fn main() {
|
|
}
|