blob: a9905052ffdfb8838e2ea42fb3ec7ba28c34423f [file] [log] [blame]
warning: Trait bound Vec<str>: Debug does not depend on any type or lifetime parameters
--> $DIR/trivial-bounds-inconsistent-well-formed.rs:7:30
|
LL | pub fn foo() where Vec<str>: Debug, str: Copy {
| ^^^^^
|
= note: `#[warn(trivial_bounds)]` on by default
warning: Trait bound str: Copy does not depend on any type or lifetime parameters
--> $DIR/trivial-bounds-inconsistent-well-formed.rs:7:42
|
LL | pub fn foo() where Vec<str>: Debug, str: Copy {
| ^^^^
warning: 2 warnings emitted