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
mod foo {}use foo::bar::baz::{};// This emits 2 errorsfnmain(){
foo::bar::baz();// This emits 2 errors
<()as foo::bar>::baz();// This emits 3 errors
foo::bar::baz{x:0}// This emits 2 errors}
The text was updated successfully, but these errors were encountered:
Looks like the errors aren't true duplicates, instead it first complains about not finding bar in foo, then complains about not being able to resolve foo::bar::baz.
The general pattern is where B fails because A fails and B depends on A, we should probably be detecting these cases and silencing the dependent errors.
For example,
The text was updated successfully, but these errors were encountered: