We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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>() {} | ^^