summaryrefslogtreecommitdiffstats
path: root/tests/ui/kindck/kindck-send-unsafe.rs
blob: 4ef30a71fa3585f9b06aa4e38e0bcc8bbea45106 (plain)
1
2
3
4
5
6
7
8
9
10
11
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() {
}