X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftools%2Fclippy%2Ftests%2Fui%2Fredundant_allocation.rs;h=80f94e5f3cbbb278e4d333f7b1887ff3d51ec81e;hb=515e2a2cda88e0213ab24dc97e75794eac42ebfe;hp=52fbc91e325555a9c808f57a47e76cc48e893363;hpb=3426a730ffc78bea3fa45593a383647c0774fe57;p=rust.git diff --git a/src/tools/clippy/tests/ui/redundant_allocation.rs b/src/tools/clippy/tests/ui/redundant_allocation.rs index 52fbc91e325..80f94e5f3cb 100644 --- a/src/tools/clippy/tests/ui/redundant_allocation.rs +++ b/src/tools/clippy/tests/ui/redundant_allocation.rs @@ -3,7 +3,7 @@ #![allow(clippy::blacklisted_name, unused_variables, dead_code)] #![allow(unused_imports)] -pub struct MyStruct {} +pub struct MyStruct; pub struct SubT { foo: T,