summary refs log tree commit diff
path: root/src/test/ui/rfc-2005-default-binding-mode/const.stderr
blob: afcbf76c1a44fdc94f128178ea602c6d6e539964 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0308]: mismatched types
  --> $DIR/const.rs:26:9
   |
26 |         FOO => {}, //~ ERROR mismatched types
   |         ^^^ expected &Foo, found struct `Foo`
   |
   = note: expected type `&Foo`
              found type `Foo`

error: aborting due to previous error