]> git.lizzy.rs Git - rust.git/blob - tests/ui/async-await/issues/issue-61187.rs
Rollup merge of #106944 - Nilstrieb:there-once-was-a-diagnostic, r=WaffleLapkin
[rust.git] / tests / ui / async-await / issues / issue-61187.rs
1 // edition:2018
2
3 fn main() {}
4
5 async fn response(data: Vec<u8>) {
6     data.reverse(); //~ ERROR E0596
7 }