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