]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/unused_unit.fixed
Move MSRV tests into the lint specific test files
[rust.git] / tests / ui / unused_unit.fixed
index 7afc5361356333235224a79b64710f13cd76e5cd..7bb43cf7ae82ded49dc035f3e03f798993547cc6 100644 (file)
@@ -11,6 +11,7 @@
 
 #![deny(clippy::unused_unit)]
 #![allow(dead_code)]
+#![allow(clippy::from_over_into)]
 
 struct Unitter;
 impl Unitter {
@@ -79,3 +80,10 @@ fn test2(){}
 
 #[rustfmt::skip]
 fn test3(){}
+
+fn macro_expr() {
+    macro_rules! e {
+        () => (());
+    }
+    e!()
+}