Given:
trait Trait {}
fn f<'a, T: Trait + ('a)>() {}
suggest the correct syntax
error: parenthesized lifetime bounds are not supported
--> $DIR/trait-object-lifetime-parens.rs:5:24
|
LL | fn f<'a, T: Trait + ('a)>() {}
| ^
help: remove the braces
|
LL | fn f<'a, T: Trait + 'a>() {}
| ^^
Given:
suggest the correct syntax