blob: ffcfbdf54a7aba051ec70a0d6a515f855cfe3ec6 [file] [log] [blame]
warning: Trait bound std::vec::Vec<str>: std::fmt::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: std::marker::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