rust/tests/ui/box/unit/unique-generic-assign.rs
2024-02-16 20:02:50 +00:00

12 lines
142 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() { }