]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/assoc-const-as-field.stderr
Rollup merge of #106751 - clubby789:const-intrinsic, r=GuillaumeGomez
[rust.git] / tests / ui / suggestions / assoc-const-as-field.stderr
1 error[E0423]: expected value, found struct `Mod::Foo`
2   --> $DIR/assoc-const-as-field.rs:11:9
3    |
4 LL |     foo(Mod::Foo.Bar);
5    |         ^^^^^^^^- help: use the path separator to refer to an item: `::`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0423`.