Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
``` error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks --> tests/no-std/../include/basic.rs:3:1 | 3 | #[stream(item = ())] | ^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the attribute macro `stream` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `#[coroutine]` to make this closure a coroutine | 3 | #[coroutine] #[stream(item = ())] | ++++++++++++ error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks --> tests/no-std/../include/basic.rs:6:1 | 6 | #[stream(item = ())] | ^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the attribute macro `stream` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `#[coroutine]` to make this closure a coroutine | 6 | #[coroutine] #[stream(item = ())] | ++++++++++++ error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks --> tests/no-std/../include/basic.rs:17:1 | 17 | #[try_stream(ok = (), error = ())] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the attribute macro `try_stream` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `#[coroutine]` to make this closure a coroutine | 17 | #[coroutine] #[try_stream(ok = (), error = ())] | ++++++++++++ error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks --> tests/no-std/../include/basic.rs:28:1 | 28 | #[stream(item = ())] | ^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the attribute macro `stream` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `#[coroutine]` to make this closure a coroutine | 28 | #[coroutine] #[stream(item = ())] | ++++++++++++ error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks --> tests/no-std/../include/basic.rs:41:1 | 41 | #[try_stream(ok = (), error = ())] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the attribute macro `try_stream` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `#[coroutine]` to make this closure a coroutine | 41 | #[coroutine] #[try_stream(ok = (), error = ())] | ++++++++++++ error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks --> tests/no-std/../include/basic.rs:54:1 | 54 | #[stream(item = ())] | ^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the attribute macro `stream` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `#[coroutine]` to make this closure a coroutine | 54 | #[coroutine] #[stream(item = ())] | ++++++++++++ error: `yield` can only be used in `#[coroutine]` closures, or `gen` blocks --> tests/no-std/../include/basic.rs:69:1 | 69 | #[try_stream(ok = (), error = ())] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the attribute macro `try_stream` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `#[coroutine]` to make this closure a coroutine | 69 | #[coroutine] #[try_stream(ok = (), error = ())] | ++++++++++++ ```
- Loading branch information