]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #5564 - MrAwesome:master, r=flip1995
authorbors <bors@rust-lang.org>
Sat, 9 May 2020 18:43:28 +0000 (18:43 +0000)
committerbors <bors@rust-lang.org>
Sat, 9 May 2020 18:43:28 +0000 (18:43 +0000)
Allow `use super::*;` glob imports

changelog: Allow super::* glob imports

fixes #5554
fixes #5569

A first pass at #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).


Trivial merge