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

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.