]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/map_unit_fn.rs
Move MSRV tests into the lint specific test files
[rust.git] / tests / ui / map_unit_fn.rs
index 9a74da4e3b8b641ef4387246ab1f24ea7800de4d..e7f07b50f3ab1fbad149d309b3da9c67bd007950 100644 (file)
@@ -1,5 +1,5 @@
 #![allow(unused)]
-struct Mappable {}
+struct Mappable;
 
 impl Mappable {
     pub fn map(&self) {}