2019-07-02 16:30:28 -05:00
|
|
|
// build-pass (FIXME(62277): could be check-pass?)
|
2017-08-01 20:44:11 -05:00
|
|
|
#![allow(unused)]
|
|
|
|
|
|
|
|
fn f() {
|
2017-08-02 21:14:16 -05:00
|
|
|
let x: Vec<()> = Vec::new();
|
2017-08-01 20:44:11 -05:00
|
|
|
|
|
|
|
|| {
|
2017-08-02 21:14:16 -05:00
|
|
|
|| {
|
|
|
|
x.len()
|
|
|
|
}
|
2017-08-01 20:44:11 -05:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2018-10-31 07:08:01 -05:00
|
|
|
|
|
|
|
fn main() {}
|