[−][src]Function rustc_mir::hair::pattern::check_match::check_legality_of_bindings_in_at_patterns
fn check_legality_of_bindings_in_at_patterns(cx: &MatchVisitor, pat: &Pat)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Forbids bindings in @
patterns. This is necessary for memory safety,
because of the way rvalues are handled in the borrow check. (See issue
#14587.)