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
k.rs:1:4: 1:13 error: unresolved name
k.rs:1 use foo::bar;
^~~~~~~~~
k.rs:1:4: 1:13 error: failed to resolve import: foo::bar
k.rs:1 use foo::bar;
^~~~~~~~~
error: failed to resolve imports
error: aborting due to 3 previous errors
I believe the span on the first error should just cover foo, not the whole path (that is a path, yes?)
The text was updated successfully, but these errors were encountered:
…, r=matthiaskrgr
Fix a FP in `explicit_counter_loop`
Fixesrust-lang#4677 and rust-lang#6074
Fix a false positive in `explicit_counter_loop` where the loop counter is used after incremented, adjust the test so that counters are incremented at the end of the loop and add the test for this false positive.
---
changelog: Fix a false positive in `explicit_counter_loop` where the loop counter is used after incremented
generates:
I believe the span on the first error should just cover foo, not the whole path (that is a path, yes?)
The text was updated successfully, but these errors were encountered: