1 More than one explicit lifetime bound was used on a trait object.
3 Example of erroneous code:
8 type T<'a, 'b> = dyn Foo + 'a + 'b; // error: Trait object `arg` has two
9 // lifetime bound, 'a and 'b.
12 Here `T` is a trait object with two explicit lifetime bounds, 'a and 'b.
14 Only a single explicit lifetime bound is permitted on trait objects.
15 To fix this error, consider removing one of the lifetime bounds:
20 type T<'a> = dyn Foo + 'a;