2014-03-05 17:28:08 -06:00
|
|
|
use std::vec::Vec;
|
2013-05-24 21:35:29 -05:00
|
|
|
|
2012-08-09 12:50:18 -05:00
|
|
|
fn main() {
|
2015-01-08 04:54:35 -06:00
|
|
|
let a: Vec<isize> = Vec::new();
|
2014-07-07 17:22:23 -05:00
|
|
|
a.iter().all(|_| -> bool {
|
2016-10-25 18:28:20 -05:00
|
|
|
//~^ ERROR mismatched types
|
2012-08-09 12:50:18 -05:00
|
|
|
});
|
2012-05-19 07:52:01 -05:00
|
|
|
}
|