fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0434]: can't capture dynamic environment in a fn item 2 --> $DIR/issue-3021-d.rs:21:23 3 | 4LL | self.v0 = k0 ^ 0x736f6d6570736575; 5 | ^^ 6 | 7 = help: use the `|| { ... }` closure form instead 8 9error[E0434]: can't capture dynamic environment in a fn item 10 --> $DIR/issue-3021-d.rs:22:23 11 | 12LL | self.v1 = k1 ^ 0x646f72616e646f6d; 13 | ^^ 14 | 15 = help: use the `|| { ... }` closure form instead 16 17error: aborting due to 2 previous errors 18 19For more information about this error, try `rustc --explain E0434`.