]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2005-default-binding-mode/const.stderr
Rollup merge of #58873 - GuillaumeGomez:fix-auto-hide-method-doc, r=QuietMisdreavus
[rust.git] / src / test / ui / rfc-2005-default-binding-mode / const.stderr
1 error[E0308]: mismatched types
2   --> $DIR/const.rs:14:9
3    |
4 LL |         FOO => {},
5    |         ^^^ expected &Foo, found struct `Foo`
6    |
7    = note: expected type `&Foo`
8               found type `Foo`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.