]> git.lizzy.rs Git - rust.git/blob - src/test/ui/leak-unique-as-tydesc.rs
Auto merge of #82624 - ojeda:rwlock-example-deadlock, r=JohnTitor
[rust.git] / src / test / ui / leak-unique-as-tydesc.rs
1 // run-pass
2 // pretty-expanded FIXME #23616
3
4 #![feature(box_syntax)]
5
6 fn leaky<T>(_t: T) { }
7
8 pub fn main() { let x = box 10; leaky::<Box<isize>>(x); }