]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/assoc-const-as-field.stderr
Rollup merge of #99079 - compiler-errors:issue-99073, r=oli-obk
[rust.git] / src / test / 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    |         ^^^^^^^^----
6    |         |
7    |         help: use the path separator to refer to an item: `Mod::Foo::Bar`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0423`.