1#### Note: this error code is no longer emitted by the compiler.23This error indicates that the bindings in a match arm would require a value to4be moved into more than one location, thus violating unique ownership. Code5like the following is invalid as it requires the entire `Option<String>` to be6moved into a variable called `op_string` while simultaneously requiring the7inner `String` to be moved into a variable called `s`.89Erroneous code example:1011```compile_fail,E038212#![feature(bindings_after_at)]1314let x = Some("s".to_string());1516match x {17 op_string @ Some(s) => {}, // error: use of moved value18 None => {},19}20```2122See also the error E0303.
Findings
✓ No findings reported for this file.