rust/tests/ui/box/unit/unique-generic-assign.rs

12 lines
140 B
Rust

// run-pass
#![allow(dead_code)]
// Issue #976
// pretty-expanded FIXME #23616
fn f<T>(x: Box<T>) {
let _x2 = x;
}
pub fn main() { }