rust/src/test/ui/chalkify/recursive_where_clause_on_t...

11 lines
275 B
Plaintext
Raw Normal View History

2020-03-03 17:25:03 +01:00
warning: Trait bound S: Foo does not depend on any type or lifetime parameters
--> $DIR/recursive_where_clause_on_type.rs:12:19
|
LL | struct S where S: Foo;
| ^^^
|
= note: `#[warn(trivial_bounds)]` on by default
warning: 1 warning emitted