summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/auxiliary/issue-2723-a.rs
blob: 661b46d829dfe4935e43df7dda321fb42cc534f5 (plain)
1
2
3
pub unsafe fn f(xs: Vec<isize> ) {
    xs.iter().map(|_x| { unsafe fn q() { panic!(); } }).collect::<Vec<()>>();
}