1 error: expected one of `,` or `>`, found `==`
2 --> $DIR/issue-87493.rs:8:22
4 LL | T: MyTrait<Assoc == S::Assoc>,
5 | ^^ expected one of `,` or `>`
7 help: if you meant to use an associated type binding, replace `==` with `=`
9 LL | T: MyTrait<Assoc = S::Assoc>,
12 error[E0107]: this trait takes 0 generic arguments but 1 generic argument was supplied
13 --> $DIR/issue-87493.rs:8:8
15 LL | T: MyTrait<Assoc == S::Assoc>,
16 | ^^^^^^^ ----------------- help: replace the generic bound with the associated type: `Assoc = Assoc == S::Assoc`
18 | expected 0 generic arguments
20 note: trait defined here, with 0 generic parameters
21 --> $DIR/issue-87493.rs:1:11
23 LL | pub trait MyTrait {
26 error: aborting due to 2 previous errors
28 For more information about this error, try `rustc --explain E0107`.