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
<anon>:5:6: 5:7 error: inherent implementations are not allowed for types not defined in the current module.
<anon>:5 impl X {}
^
<anon>:6:6: 6:7 error: inherent implementations are not allowed for types not defined in the current module.
<anon>:6 impl Y {}
^
<anon>:7:6: 7:9 error: inherent implementations are not allowed for types not defined in the current module.
<anon>:7 impl foo {}
^~~
constX:uint = 1;implEqforX{}fnmain(){}
<anon>:9:13: 9:14 error: use of undeclared type name `X`
<anon>:9 impl Eq for X {}
^
These would all preferably indicate that the impl "type" is not actually a type.