]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/wrong_self_convention2.rs
Move MSRV tests into the lint specific test files
[rust.git] / tests / ui / wrong_self_convention2.rs
index a8fe8331133778ebcf934b4b234c07c430f484c9..0dcf4743e8b8dbcd1186b794a9f2846a763a2da2 100644 (file)
@@ -104,3 +104,13 @@ pub fn to_mut(self: Pin<&mut Self>) {}
         pub fn to_other_thingy(self: Pin<&Self>) {}
     }
 }
+
+mod issue_8480_8513 {
+    struct Cat(String);
+
+    impl Cat {
+        fn is_animal(&mut self) -> bool {
+            todo!();
+        }
+    }
+}