1 error: parenthesized lifetime bounds are not supported
2 --> $DIR/trait-object-lifetime-parens.rs:5:21
4 LL | fn f<'a, T: Trait + ('a)>() {}
5 | ^^^^ help: remove the parentheses
7 error: parenthesized lifetime bounds are not supported
8 --> $DIR/trait-object-lifetime-parens.rs:8:24
10 LL | let _: Box<Trait + ('a)>;
11 | ^^^^ help: remove the parentheses
13 error: expected `:`, found `)`
14 --> $DIR/trait-object-lifetime-parens.rs:9:19
16 LL | let _: Box<('a) + Trait>;
19 error: chained comparison operators require parentheses
20 --> $DIR/trait-object-lifetime-parens.rs:9:15
22 LL | let _: Box<('a) + Trait>;
25 = help: use `::<...>` instead of `<...>` if you meant to specify type arguments
26 = help: or use `(...)` if you meant to specify fn arguments
28 error: expected type, found `'a`
29 --> $DIR/trait-object-lifetime-parens.rs:9:17
31 LL | let _: Box<('a) + Trait>;
34 | while parsing the type for `_`
36 error: aborting due to 5 previous errors