]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/missing_inline.rs
Move MSRV tests into the lint specific test files
[rust.git] / tests / ui / missing_inline.rs
index b73b24b8e0a3b9b50fc6eaaf7b3e68d95168d324..07f8e3888c998274b8fa240a6fac1e72fd7f2e10 100644 (file)
@@ -7,8 +7,8 @@
 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
 
@@ -63,4 +63,4 @@ pub fn PubFooImpl() {} // missing #[inline]
 
 // do not lint this since users cannot control the external code
 #[derive(Debug)]
-pub struct S {}
+pub struct S;