type Typedef = String;
pub type PubTypedef = String;
-struct Foo {} // ok
-pub struct PubFoo {} // ok
+struct Foo; // ok
+pub struct PubFoo; // ok
enum FooE {} // ok
pub enum PubFooE {} // ok
impl PubFoo {
pub fn PubFooImpl() {} // missing #[inline]
}
+
+// do not lint this since users cannot control the external code
+#[derive(Debug)]
+pub struct S;