summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-2151.rs
blob: 82cf49de8227ef303d8c67b20f86acd7966e747c (plain)
1
2
3
4
fn main() {
    let x = panic!(); //~ ERROR type annotations needed
    x.clone();
}