fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
590 B15 linesraw
1error[E0308]: mismatched types
2  --> $DIR/retslot-cast.rs:13:5
3   |
4LL |             -> Option<&Iterator<Item=()>> {
5   |                -------------------------- expected `Option<&dyn Iterator<Item = ()>>` because of return type
6...
7LL |     inner(x)
8   |     ^^^^^^^^ expected trait `Iterator<Item = ()>`, found trait `Iterator<Item = ()> + Send`
9   |
10   = note: expected enum `Option<&dyn Iterator<Item = ()>>`
11              found enum `Option<&dyn Iterator<Item = ()> + Send>`
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0308`.