]>
git.proxmox.com Git - rustc.git/blob - tests/ui/async-await/issue-61452.rs
3 pub async
fn f(x
: Option
<usize>) {
5 //~^ ERROR cannot borrow `x` as mutable, as it is not declared as mutable [E0596]
8 pub async
fn g(x
: usize) {
10 //~^ ERROR cannot assign twice to immutable variable `x` [E0384]