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
Similar to #19197 and #17546, this gives a bad error message.
Code:
enumTy{A,B(Ty::A),}fnmain(){}
Error:
<anon>:3:7: 3:12 error: found value name used as a type: DefVariant(DefId { krate: 0u32, node: 4u32 }, DefId { krate: 0u32, node: 5u32 }, false)
<anon>:3 B(Ty::A),
^~~~~
playpen: application terminated with error code 101
The text was updated successfully, but these errors were encountered:
Similar to #19197 and #17546, this gives a bad error message.
Code:
Error:
The text was updated successfully, but these errors were encountered: