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
useB::*;pubstructS;modB{implsuper::S{pubfnnew() -> super::S{super::S}}}fnmain(){let s = S::new();}
Error:
test.rs:17:9: 17:15 error: unresolved name
test.rs:17 let s = S::new();
^~~~~~
test.rs:17:9: 17:15 error: use of undeclared module `S`
test.rs:17 let s = S::new();
^~~~~~
test.rs:17:9: 17:15 error: unresolved name `S::new`.
test.rs:17 let s = S::new();
^~~~~~
error: aborting due to 3 previous errors
…llogiq
add tests in `implicit_saturating_sub` lint
This adds more tests to the `implicit_saturating_sub` lint to rule out certain false positives that have appeared in the past.
Now with those false positives out of the equation, we can move the lint to `style`.
---
changelog: promote [`implicit-saturating-sub`] to the `style` category
Error:
The text was updated successfully, but these errors were encountered: