]> git.lizzy.rs Git - rust.git/blob - tests/ui/kindck/kindck-send-unsafe.rs
Rollup merge of #103236 - tspiteri:redoc-int-adc-sbb, r=m-ou-se
[rust.git] / tests / 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 }