]> git.proxmox.com Git - rustc.git/blame - src/test/ui/generator/resume-arg-late-bound.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / generator / resume-arg-late-bound.stderr
CommitLineData
f035d41b
XL
1error[E0308]: mismatched types
2 --> $DIR/resume-arg-late-bound.rs:15:5
74b04a01 3 |
74b04a01 4LL | 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
10error[E0308]: mismatched types
11 --> $DIR/resume-arg-late-bound.rs:15:5
12 |
13LL | 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 19error: aborting due to 2 previous errors
74b04a01 20
f035d41b 21For more information about this error, try `rustc --explain E0308`.