File: yield_in_async.stderr

package info (click to toggle)
rust-async-stream 0.3.4-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 216 kB
  • sloc: makefile: 2
file content (19 lines) | stat: -rw-r--r-- 543 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
error[E0658]: yield syntax is experimental
 --> tests/ui/yield_in_async.rs:6:13
  |
6 |             yield 123;
  |             ^^^^^^^^^
  |
  = note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information

error[E0727]: `async` generators are not yet supported
 --> tests/ui/yield_in_async.rs:6:13
  |
6 |             yield 123;
  |             ^^^^^^^^^

error[E0308]: mismatched types
 --> tests/ui/yield_in_async.rs:6:19
  |
6 |             yield 123;
  |                   ^^^ expected `()`, found integer