]>
Commit | Line | Data |
---|---|---|
f035d41b XL |
1 | error[E0308]: mismatched types |
2 | --> $DIR/resume-arg-late-bound.rs:15:5 | |
74b04a01 | 3 | | |
74b04a01 | 4 | LL | test(gen); |
f035d41b XL |
5 | | ^^^^ one type is more general than the other |
6 | | | |
1b1a35ee XL |
7 | = note: expected type `for<'a> Generator<&'a mut bool>` |
8 | found type `Generator<&mut bool>` | |
f035d41b XL |
9 | |
10 | error[E0308]: mismatched types | |
11 | --> $DIR/resume-arg-late-bound.rs:15:5 | |
12 | | | |
13 | LL | test(gen); | |
14 | | ^^^^ one type is more general than the other | |
15 | | | |
1b1a35ee XL |
16 | = note: expected type `for<'a> Generator<&'a mut bool>` |
17 | found type `Generator<&mut bool>` | |
74b04a01 | 18 | |
f035d41b | 19 | error: aborting due to 2 previous errors |
74b04a01 | 20 | |
f035d41b | 21 | For more information about this error, try `rustc --explain E0308`. |