summary refs log tree commit diff
path: root/src/test/ui/feature-gate-match_default_bindings.stderr
blob: d86e8248f088d77829e00ae80bfb76693fdf07b7 (plain)
1
2
3
4
5
6
7
8
9
10
error: non-reference pattern used to match a reference (see issue #42640)
  --> $DIR/feature-gate-match_default_bindings.rs:13:9
   |
13 |         Some(n) => {},
   |         ^^^^^^^ help: consider using a reference: `&Some(n)`
   |
   = help: add #![feature(match_default_bindings)] to the crate attributes to enable

error: aborting due to previous error