summaryrefslogtreecommitdiffstats
path: root/tests/ui/associated-type-bounds/issue-71443-1.stderr
blob: a9459ee7432831845a8a4c45b85b90a0d208d8a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0308]: mismatched types
  --> $DIR/issue-71443-1.rs:6:5
   |
LL | fn hello<F: for<'a> Iterator<Item: 'a>>() {
   |                                           - help: try adding a return type: `-> Incorrect`
LL |     Incorrect
   |     ^^^^^^^^^ expected `()`, found struct `Incorrect`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.