2018-08-30 14:18:55 +02:00
|
|
|
//@ run-pass
|
2015-03-22 13:13:15 -07:00
|
|
|
|
2014-10-16 21:40:21 +02:00
|
|
|
fn main() {
|
|
|
|
|
let mut buf = Vec::new();
|
2020-07-28 00:00:00 +00:00
|
|
|
|c: u8| buf.push(c); //~ WARN unused closure that must be used
|
2014-10-16 21:40:21 +02:00
|
|
|
}
|