summaryrefslogtreecommitdiffstats
path: root/tests/ui/box/unit/unique-generic-assign.rs
blob: 9c4405aa8ac2a408cc2704497b4393b9506acd2e (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-pass
#![allow(dead_code)]
// Issue #976


// pretty-expanded FIXME #23616

fn f<T>(x: Box<T>) {
    let _x2 = x;
}
pub fn main() { }