1 error: Constants have by default a `'static` lifetime
2 --> $DIR/redundant_static_lifetimes_multiple.rs:3:18
4 LL | const VAR_FIVE: &'static [&[&'static str]] = &[&["test"], &["other one"]]; // ERROR Consider removing 'static
5 | -^^^^^^^------------------ help: consider removing `'static`: `&[&[&'static str]]`
7 = note: `-D clippy::redundant-static-lifetimes` implied by `-D warnings`
9 error: Constants have by default a `'static` lifetime
10 --> $DIR/redundant_static_lifetimes_multiple.rs:3:30
12 LL | const VAR_FIVE: &'static [&[&'static str]] = &[&["test"], &["other one"]]; // ERROR Consider removing 'static
13 | -^^^^^^^---- help: consider removing `'static`: `&str`
15 error: Constants have by default a `'static` lifetime
16 --> $DIR/redundant_static_lifetimes_multiple.rs:5:29
18 LL | const VAR_SEVEN: &[&(&str, &'static [&'static str])] = &[&("one", &["other one"])];
19 | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]`
21 error: Constants have by default a `'static` lifetime
22 --> $DIR/redundant_static_lifetimes_multiple.rs:5:39
24 LL | const VAR_SEVEN: &[&(&str, &'static [&'static str])] = &[&("one", &["other one"])];
25 | -^^^^^^^---- help: consider removing `'static`: `&str`
27 error: Statics have by default a `'static` lifetime
28 --> $DIR/redundant_static_lifetimes_multiple.rs:7:40
30 LL | static STATIC_VAR_FOUR: (&str, (&str, &'static str), &'static str) = ("on", ("th", "th"), "on"); // ERROR Consider removing 'static
31 | -^^^^^^^---- help: consider removing `'static`: `&str`
33 error: Statics have by default a `'static` lifetime
34 --> $DIR/redundant_static_lifetimes_multiple.rs:7:55
36 LL | static STATIC_VAR_FOUR: (&str, (&str, &'static str), &'static str) = ("on", ("th", "th"), "on"); // ERROR Consider removing 'static
37 | -^^^^^^^---- help: consider removing `'static`: `&str`
39 error: Statics have by default a `'static` lifetime
40 --> $DIR/redundant_static_lifetimes_multiple.rs:9:26
42 LL | static STATIC_VAR_FIVE: &'static [&[&'static str]] = &[&["test"], &["other one"]]; // ERROR Consider removing 'static
43 | -^^^^^^^------------------ help: consider removing `'static`: `&[&[&'static str]]`
45 error: Statics have by default a `'static` lifetime
46 --> $DIR/redundant_static_lifetimes_multiple.rs:9:38
48 LL | static STATIC_VAR_FIVE: &'static [&[&'static str]] = &[&["test"], &["other one"]]; // ERROR Consider removing 'static
49 | -^^^^^^^---- help: consider removing `'static`: `&str`
51 error: Statics have by default a `'static` lifetime
52 --> $DIR/redundant_static_lifetimes_multiple.rs:11:37
54 LL | static STATIC_VAR_SEVEN: &[&(&str, &'static [&'static str])] = &[&("one", &["other one"])];
55 | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]`
57 error: Statics have by default a `'static` lifetime
58 --> $DIR/redundant_static_lifetimes_multiple.rs:11:47
60 LL | static STATIC_VAR_SEVEN: &[&(&str, &'static [&'static str])] = &[&("one", &["other one"])];
61 | -^^^^^^^---- help: consider removing `'static`: `&str`
63 error: aborting due to 10 previous errors