]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/redundant_static_lifetimes.rs
Auto merge of #9684 - kraktus:ref_option_ref, r=xFrednet
[rust.git] / tests / ui / redundant_static_lifetimes.rs
index 4d4b249d076ffca81ecd13eca4022b2e960c5c38..f2f0f78659c936516fab442fd624e1ba7f5164a0 100644 (file)
@@ -3,7 +3,7 @@
 #![allow(unused)]
 
 #[derive(Debug)]
-struct Foo {}
+struct Foo;
 
 const VAR_ONE: &'static str = "Test constant #1"; // ERROR Consider removing 'static.