1 warning: Trait bound str: std::marker::Sized does not depend on any type or lifetime parameters
2 --> $DIR/trivial-bounds-inconsistent-sized.rs:14:31
4 LL | struct S(str, str) where str: Sized;
7 = note: `#[warn(trivial_bounds)]` on by default
9 warning: Trait bound for<'a> T<(dyn A + 'a)>: std::marker::Sized does not depend on any type or lifetime parameters
10 --> $DIR/trivial-bounds-inconsistent-sized.rs:17:49
12 LL | fn unsized_local() where for<'a> T<dyn A + 'a>: Sized {
15 warning: Trait bound str: std::marker::Sized does not depend on any type or lifetime parameters
16 --> $DIR/trivial-bounds-inconsistent-sized.rs:22:35
18 LL | fn return_str() -> str where str: Sized {