blob: 293f290f82fd9fe68e2551e5db2e0539a8b3202f [file] [log] [blame]
error[E0423]: expected function, found struct variant `Foo::Variant`
--> $DIR/issue-18252.rs:6:13
|
LL | let f = Foo::Variant(42);
| ^^^^^^^^^^^^ did you mean `Foo::Variant { /* fields */ }`?
error: aborting due to previous error
For more information about this error, try `rustc --explain E0423`.