]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pattern/bindings-after-at/borrowck-pat-by-move-and-ref.rs
Remove `bindings_after_at` from `INCOMPLETE_FEATURES`.
[rust.git] / src / test / ui / pattern / bindings-after-at / borrowck-pat-by-move-and-ref.rs
1 #![feature(bindings_after_at)]
2
3 fn main() {
4     match Some("hi".to_string()) {
5         ref op_string_ref @ Some(s) => {},
6         //~^ ERROR cannot bind by-move and by-ref in the same pattern [E0009]
7         None => {},
8     }
9 }