summaryrefslogtreecommitdiffstats
path: root/tests/ui/associated-type-bounds/issue-71443-1.stderr
blob: 15cc9646b2c8e17ce2b90e8cf780862e3647f89c (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 `Incorrect`

error: aborting due to previous error

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