File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/ide-db/src/generated Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3869,7 +3869,7 @@ use std::ops::{Coroutine, CoroutineState};
3869
3869
use std::pin::Pin;
3870
3870
3871
3871
fn main() {
3872
- let mut coroutine = || {
3872
+ let mut coroutine = #[coroutine] || {
3873
3873
yield 1;
3874
3874
return "foo"
3875
3875
};
@@ -3901,7 +3901,7 @@ use std::ops::Coroutine;
3901
3901
use std::pin::Pin;
3902
3902
3903
3903
fn main() {
3904
- let mut coroutine = || {
3904
+ let mut coroutine = #[coroutine] || {
3905
3905
println!("2");
3906
3906
yield;
3907
3907
println!("4");
@@ -4007,7 +4007,7 @@ use std::pin::Pin;
4007
4007
4008
4008
fn main() {
4009
4009
let ret = "foo";
4010
- let mut coroutine = move || {
4010
+ let mut coroutine = #[coroutine] move || {
4011
4011
yield 1;
4012
4012
return ret
4013
4013
};
You can’t perform that action at this time.
0 commit comments