]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/async-await/issue-61452.stderr
Auto merge of #103217 - mejrs:track, r=eholk
[rust.git] / src / test / ui / async-await / issue-61452.stderr
index f2dec87baf08b446f558e43945e66c5de6055514..2d3bb48e03be83ac3a5a042eaf9de06774d0c7c5 100644 (file)
@@ -4,7 +4,7 @@ error[E0596]: cannot borrow `x` as mutable, as it is not declared as mutable
 LL | pub async fn f(x: Option<usize>) {
    |                - help: consider changing this to be mutable: `mut x`
 LL |     x.take();
-   |     ^ cannot borrow as mutable
+   |     ^^^^^^^^ cannot borrow as mutable
 
 error[E0384]: cannot assign twice to immutable variable `x`
   --> $DIR/issue-61452.rs:9:5