rust/tests/ui/traits/new-solver/equating-projection-cyclically.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
569 B
Plaintext
Raw Normal View History

2023-02-26 23:23:26 -06:00
error[E0308]: mismatched types
--> $DIR/equating-projection-cyclically.rs:22:19
|
LL | x = transform(x);
| ^ expected inferred type, found associated type
|
= note: expected type `_`
found associated type `<_ as Test>::Assoc`
= help: consider constraining the associated type `<_ as Test>::Assoc` to `_`
= note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.