File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ error[E0658]: yield syntax is experimental
6
6
|
7
7
= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
8
8
9
- error[E0277]: expected a `FnOnce<(&str,)>` closure, found `[generator@$DIR/tests/ui/yield_in_closure.rs:6:23: 9:14 ]`
9
+ error[E0277]: expected a `FnOnce<(&str,)>` closure, found `[generator@$DIR/tests/ui/yield_in_closure.rs:6:23: 6:26 ]`
10
10
--> tests/ui/yield_in_closure.rs:6:14
11
11
|
12
12
6 | .and_then(|v| {
13
- | ^^^^^^^^ expected an `FnOnce<(&str,)>` closure, found `[generator@$DIR/tests/ui/yield_in_closure.rs:6:23: 9:14 ]`
13
+ | ^^^^^^^^ expected an `FnOnce<(&str,)>` closure, found `[generator@$DIR/tests/ui/yield_in_closure.rs:6:23: 6:26 ]`
14
14
|
15
- = help: the trait `FnOnce<(&str,)>` is not implemented for `[generator@$DIR/tests/ui/yield_in_closure.rs:6:23: 9:14 ]`
15
+ = help: the trait `FnOnce<(&str,)>` is not implemented for `[generator@$DIR/tests/ui/yield_in_closure.rs:6:23: 6:26 ]`
16
16
note: required by a bound in `Result::<T, E>::and_then`
17
17
--> $RUST/core/src/result.rs
18
18
|
You can’t perform that action at this time.
0 commit comments