]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gate-match_default_bindings.stderr
Auto merge of #49304 - sinkuu:impl_trait_rustdoc, r=QuietMisdreavus
[rust.git] / src / test / ui / feature-gate-match_default_bindings.stderr
1 error[E0658]: non-reference pattern used to match a reference (see issue #42640)
2   --> $DIR/feature-gate-match_default_bindings.rs:13:9
3    |
4 LL |         Some(n) => {},
5    |         ^^^^^^^ help: consider using a reference: `&Some(n)`
6    |
7    = help: add #![feature(match_default_bindings)] to the crate attributes to enable
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0658`.