From 4116514f5bc887b22d17eb091a2a56c474274dbc Mon Sep 17 00:00:00 2001 From: rustbot Date: Sat, 1 Apr 2023 03:06:43 +0000 Subject: [PATCH] ices/109298.rs: fixed with errors === stdout === === stderr === warning: unused variable: `y` --> /home/runner/work/glacier/glacier/ices/109298.rs:3:18 | 3 | let [ref y, ref mut z @ ..] = x; | ^ help: if this is intentional, prefix it with an underscore: `_y` | = note: `#[warn(unused_variables)]` on by default warning: unused variable: `z` --> /home/runner/work/glacier/glacier/ices/109298.rs:3:29 | 3 | let [ref y, ref mut z @ ..] = x; | ^ help: if this is intentional, prefix it with an underscore: `_z` error[E0596]: cannot borrow `f` as mutable, as it is not declared as mutable --> /home/runner/work/glacier/glacier/ices/109298.rs:5:5 | 3 | let [ref y, ref mut z @ ..] = x; | - calling `f` requires mutable binding due to mutable borrow of `x` 4 | }; 5 | f(); | ^ cannot borrow as mutable | help: consider changing this to be mutable | 2 | let mut f = || { | +++ error: aborting due to previous error; 2 warnings emitted For more information about this error, try `rustc --explain E0596`. ============== --- {ices => fixed}/109298.rs | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {ices => fixed}/109298.rs (100%) diff --git a/ices/109298.rs b/fixed/109298.rs similarity index 100% rename from ices/109298.rs rename to fixed/109298.rs