]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/missing_inline.rs
Addition `manual_map` test for `unsafe` blocks
[rust.git] / tests / ui / missing_inline.rs
index 2b2ea6c94c2679c95078c9733643684a98053d41..b73b24b8e0a3b9b50fc6eaaf7b3e68d95168d324 100644 (file)
@@ -60,3 +60,7 @@ fn FooImpl() {} // ok
 impl PubFoo {
     pub fn PubFooImpl() {} // missing #[inline]
 }
+
+// do not lint this since users cannot control the external code
+#[derive(Debug)]
+pub struct S {}