1 error[E0595]: closure cannot assign to immutable local variable `tick1`
2 --> $DIR/unboxed-closures-infer-fnmut-calling-fnmut-no-mut.rs:26:17
5 | ----- help: make this binding mutable: `mut tick1`
7 LL | let tick2 = || { //~ ERROR closure cannot assign to immutable local variable `tick1`
8 | ^^ cannot borrow mutably
10 error[E0596]: cannot borrow immutable local variable `tick2` as mutable
11 --> $DIR/unboxed-closures-infer-fnmut-calling-fnmut-no-mut.rs:30:5
13 LL | let tick2 = || { //~ ERROR closure cannot assign to immutable local variable `tick1`
14 | ----- help: make this binding mutable: `mut tick2`
16 LL | tick2(); //~ ERROR cannot borrow
17 | ^^^^^ cannot borrow mutably
19 error: aborting due to 2 previous errors
21 Some errors occurred: E0595, E0596.
22 For more information about an error, try `rustc --explain E0595`.