X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftools%2Fclippy%2Ftests%2Fui%2Fredundant_static_lifetimes.fixed;h=acc8f1e25b6ed3a937186d5146275271ad46c0d8;hb=515e2a2cda88e0213ab24dc97e75794eac42ebfe;hp=921249606ad2716da28f748c27da23342d52123d;hpb=39a1fdd6b88d1fd1e7203e692579eadb683feb29;p=rust.git diff --git a/src/tools/clippy/tests/ui/redundant_static_lifetimes.fixed b/src/tools/clippy/tests/ui/redundant_static_lifetimes.fixed index 921249606ad..acc8f1e25b6 100644 --- a/src/tools/clippy/tests/ui/redundant_static_lifetimes.fixed +++ b/src/tools/clippy/tests/ui/redundant_static_lifetimes.fixed @@ -3,7 +3,7 @@ #![allow(unused)] #[derive(Debug)] -struct Foo {} +struct Foo; const VAR_ONE: &str = "Test constant #1"; // ERROR Consider removing 'static.