]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2005-default-binding-mode/const.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[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 => {}, //~ ERROR mismatched types
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`.