]>
Commit | Line | Data |
---|---|---|
94b46f34 | 1 | warning: Trait bound std::vec::Vec<str>: std::fmt::Debug does not depend on any type or lifetime parameters |
0bf4aa26 | 2 | --> $DIR/trivial-bounds-inconsistent-well-formed.rs:17:30 |
94b46f34 | 3 | | |
0bf4aa26 XL |
4 | LL | pub fn foo() where Vec<str>: Debug, str: Copy { |
5 | | ^^^^^ | |
94b46f34 XL |
6 | | |
7 | = note: #[warn(trivial_bounds)] on by default | |
8 | ||
9 | warning: Trait bound str: std::marker::Copy does not depend on any type or lifetime parameters | |
0bf4aa26 | 10 | --> $DIR/trivial-bounds-inconsistent-well-formed.rs:17:42 |
94b46f34 | 11 | | |
0bf4aa26 XL |
12 | LL | pub fn foo() where Vec<str>: Debug, str: Copy { |
13 | | ^^^^ | |
94b46f34 | 14 |