]> git.lizzy.rs Git - rust.git/blob - tests/ui/generic-associated-types/bugs/issue-88460.stderr
Auto merge of #105102 - compiler-errors:copy-impl-considering-regions, r=lcnr
[rust.git] / tests / ui / generic-associated-types / bugs / issue-88460.stderr
1 error[E0277]: the trait bound `for<'a> <_ as Trait>::Assoc<'a>: Marker` is not satisfied
2   --> $DIR/issue-88460.rs:28:10
3    |
4 LL |     test(Foo);
5    |     ---- ^^^ the trait `for<'a> Marker` is not implemented for `<_ as Trait>::Assoc<'a>`
6    |     |
7    |     required by a bound introduced by this call
8    |
9    = help: the trait `Marker` is implemented for `()`
10 note: required by a bound in `test`
11   --> $DIR/issue-88460.rs:15:27
12    |
13 LL | fn test<T>(value: T)
14    |    ---- required by a bound in this
15 ...
16 LL |     for<'a> T::Assoc<'a>: Marker,
17    |                           ^^^^^^ required by this bound in `test`
18
19 error: aborting due to previous error
20
21 For more information about this error, try `rustc --explain E0277`.