]>
Commit | Line | Data |
---|---|---|
dc9dc135 | 1 | error[E0596]: cannot borrow data in a `&` reference as mutable |
e1599b0c | 2 | --> $DIR/dont-print-desugared-async.rs:5:20 |
dc9dc135 XL |
3 | | |
4 | LL | async fn async_fn(&ref mut s: &[i32]) {} | |
72b1a166 | 5 | | ^^^^^^^^^ cannot borrow as mutable through `&` reference |
dc9dc135 XL |
6 | |
7 | error: aborting due to previous error | |
8 | ||
9 | For more information about this error, try `rustc --explain E0596`. |