]> git.proxmox.com Git - rustc.git/blame - src/test/ui/retslot-cast.stderr
New upstream version 1.30.0~beta.7+dfsg1
[rustc.git] / src / test / ui / retslot-cast.stderr
CommitLineData
b7449926
XL
1error[E0308]: mismatched types
2 --> $DIR/retslot-cast.rs:24:5
3 |
4LL | inner(x) //~ ERROR mismatched types
5 | ^^^^^^^^ expected trait `std::iter::Iterator<Item=()>`, found trait `std::iter::Iterator<Item=()> + std::marker::Send`
6 |
7 = note: expected type `std::option::Option<&dyn std::iter::Iterator<Item=()>>`
8 found type `std::option::Option<&dyn std::iter::Iterator<Item=()> + std::marker::Send>`
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0308`.