32a655c1 SL |
1 | error[E0423]: expected function, found struct variant `Foo::Variant` |
2 | --> $DIR/issue-18252.rs:16:13 |
3 | | |
4 | 16 | let f = Foo::Variant(42); |
5 | | ^^^^^^^^^^^^ did you mean `Foo::Variant { /* fields */ }`? |
6 | |
7cac9316 |
7 | error: aborting due to previous error(s) |
32a655c1 |
8 | |