1 error[E0308]: mismatched types
4 LL | const FOO: Foo = Foo{bar: 5};
5 | ----------------------------- constant defined here
8 | -- this expression has type `&Foo`
12 | expected `&Foo`, found struct `Foo`
13 | `FOO` is interpreted as a constant, not a new binding
14 | help: introduce a new binding instead: `other_foo`
16 error: aborting due to previous error
18 For more information about this error, try `rustc --explain E0308`.