1 warning: Trait bound std::vec::Vec<str>: std::fmt::Debug does not depend on any type or lifetime parameters
2 --> $DIR/trivial-bounds-inconsistent-well-formed.rs:7:30
4 LL | pub fn foo() where Vec<str>: Debug, str: Copy {
7 = note: #[warn(trivial_bounds)] on by default
9 warning: Trait bound str: std::marker::Copy does not depend on any type or lifetime parameters
10 --> $DIR/trivial-bounds-inconsistent-well-formed.rs:7:42
12 LL | pub fn foo() where Vec<str>: Debug, str: Copy {