summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-3429.rs
blob: 9d94c3ff61c481558b3cd90533c21f1becc6e3ce (plain)
1
2
3
4
5
6
7
8
// run-pass
// pretty-expanded FIXME #23616

pub fn main() {
  let x = 1_usize;
  let y = || x;
  let _z = y();
}