]> git.lizzy.rs Git - rust.git/blob - src/test/ui/leak-unique-as-tydesc.rs
Move generic error message to separate branches
[rust.git] / src / test / ui / leak-unique-as-tydesc.rs
1 // run-pass
2 // pretty-expanded FIXME #23616
3
4 fn leaky<T>(_t: T) { }
5
6 pub fn main() {
7     let x = Box::new(10);
8     leaky::<Box<isize>>(x);
9 }