1
Fork 0
rust/tests/ui/error-codes/E0282.rs

5 lines
80 B
Rust
Raw Normal View History

2016-08-05 22:18:01 +02:00
fn main() {
let x = "hello".chars().rev().collect();
//~^ ERROR E0282
2016-08-05 22:18:01 +02:00
}