]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/redundant_pub_crate.fixed
Move MSRV tests into the lint specific test files
[rust.git] / tests / ui / redundant_pub_crate.fixed
index 25f2fd061b88ef0a014f078c8752796354766195..106947de68c12802c1c31162e840e970c961c53e 100644 (file)
@@ -104,4 +104,14 @@ mod m4 {
 
 pub use m4::*;
 
+mod issue_8732 {
+    #[allow(unused_macros)]
+    macro_rules! some_macro {
+        () => {};
+    }
+
+    #[allow(unused_imports)]
+    pub(crate) use some_macro; // ok: macro exports are exempt
+}
+
 fn main() {}