]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/issue-79636-1.stderr
Auto merge of #99612 - yanchen4791:issue-95079-fix, r=compiler-errors
[rust.git] / src / test / ui / generic-associated-types / issue-79636-1.stderr
1 error[E0107]: missing generics for associated type `Monad::Wrapped`
2   --> $DIR/issue-79636-1.rs:15:34
3    |
4 LL |     MInner: Monad<Unwrapped = A, Wrapped = MOuter::Wrapped<A>>,
5    |                                  ^^^^^^^ expected 1 generic argument
6    |
7 note: associated type defined here, with 1 generic parameter: `B`
8   --> $DIR/issue-79636-1.rs:5:10
9    |
10 LL |     type Wrapped<B>;
11    |          ^^^^^^^ -
12 help: add missing generic argument
13    |
14 LL |     MInner: Monad<Unwrapped = A, Wrapped<B> = MOuter::Wrapped<A>>,
15    |                                  ~~~~~~~~~~
16
17 error: aborting due to previous error
18
19 For more information about this error, try `rustc --explain E0107`.