You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enumFoo{Bar{x:()}}fnmain(){let f = Foo::Bar{y:()};}
Produces:
<anon>:6:24: 6:25 error: structure `Foo` has no field named `y`
<anon>:6 let f = Foo::Bar { y: () };
^
error: aborting due to previous error
playpen: application terminated with error code 101
It would be more helpful to say that the struct variant Foo::Bar has no field named y.
The text was updated successfully, but these errors were encountered:
Produces:
It would be more helpful to say that the struct variant
Foo::Bar
has no field namedy
.The text was updated successfully, but these errors were encountered: