]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/missing-where-clause-on-trait.stderr
Rollup merge of #84083 - ltratt:threadid_doc_tweak, r=dtolnay
[rust.git] / src / test / ui / generic-associated-types / missing-where-clause-on-trait.stderr
1 error: `impl` associated type signature for `Assoc` doesn't match `trait` associated type signature
2   --> $DIR/missing-where-clause-on-trait.rs:9:5
3    |
4 LL |     type Assoc<'a, 'b>;
5    |     ------------------- expected
6 ...
7 LL |     type Assoc<'a, 'b> where 'a: 'b = ();
8    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ found
9
10 error: aborting due to previous error
11