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