]> git.proxmox.com Git - rustc.git/blame - src/test/ui/async-await/dont-print-desugared-async.stderr
New upstream version 1.49.0+dfsg1
[rustc.git] / src / test / ui / async-await / dont-print-desugared-async.stderr
CommitLineData
dc9dc135 1error[E0596]: cannot borrow data in a `&` reference as mutable
e1599b0c 2 --> $DIR/dont-print-desugared-async.rs:5:20
dc9dc135
XL
3 |
4LL | async fn async_fn(&ref mut s: &[i32]) {}
72b1a166 5 | ^^^^^^^^^ cannot borrow as mutable through `&` reference
dc9dc135
XL
6
7error: aborting due to previous error
8
9For more information about this error, try `rustc --explain E0596`.