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
Allow `use super::*;` glob imports
changelog: Allow super::* glob imports
fixesrust-lang#5554fixesrust-lang#5569
A first pass at rust-lang#5554 - this allows all `use super::*` to pass, which may or may not be desirable. The original issue was around allowing test modules to import their entire parent modules - I'm happy to modify this to do that instead, may just need some guidance on how to implement that (I played around a bit with #[cfg(test)] but from what I can gather, clippy itself isn't in test mode when running, even if the code in question is being checked for the test target).
The macro is required, as is that exact order of the bounds, and the use of the repeated bound in the
impl
. (It's not specific toZero
though.)RUST_LOG=..
output: https://gist.github.com/huonw/5246555The text was updated successfully, but these errors were encountered: