File tree Expand file tree Collapse file tree 4 files changed +13
-17
lines changed Expand file tree Collapse file tree 4 files changed +13
-17
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " async-stream-impl"
3- version = " 0.3.3 "
3+ version = " 0.3.4 "
44edition = " 2018"
55rust-version = " 1.45"
66license = " MIT"
Original file line number Diff line number Diff line change 1+ # 0.3.4
2+
3+ * Improve support for ` #[track_caller] ` (#72 )
4+ * Reduce unsafe code (#77 )
5+
16# 0.3.3
27
38* Fix a bug where ` yield ` and ` ? ` cannot be used on the same line (#66 )
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name = "async-stream"
33# When releasing to crates.io:
44# - Update CHANGELOG.md
55# - Create git tag
6- version = " 0.3.3 "
6+ version = " 0.3.4 "
77edition = " 2018"
88rust-version = " 1.45"
99license = " MIT"
@@ -12,7 +12,7 @@ description = "Asynchronous streams using async & await notation"
1212repository = " https://github.com/tokio-rs/async-stream"
1313
1414[dependencies ]
15- async-stream-impl = { version = " =0.3.3 " , path = " ../async-stream-impl" }
15+ async-stream-impl = { version = " =0.3.4 " , path = " ../async-stream-impl" }
1616futures-core = " 0.3"
1717pin-project-lite = " 0.2"
1818
Original file line number Diff line number Diff line change @@ -12,17 +12,8 @@ error[E0727]: `async` generators are not yet supported
12126 | yield 123;
1313 | ^^^^^^^^^
1414
15- error[E0271]: type mismatch resolving `<[static generator@$DIR/tests/ui/yield_in_async.rs:5:23: 7:10] as Generator<ResumeTy>>::Yield == ()`
16- --> tests/ui/yield_in_async.rs:5:23
17- |
18- 5 | let f = async {
19- | _______________________^
20- 6 | | yield 123;
21- 7 | | };
22- | |_________^ expected `()`, found integer
23- |
24- note: required by a bound in `std::future::from_generator`
25- --> $RUST/core/src/future/mod.rs
26- |
27- | T: Generator<ResumeTy, Yield = ()>,
28- | ^^^^^^^^^^ required by this bound in `std::future::from_generator`
15+ error[E0308]: mismatched types
16+ --> tests/ui/yield_in_async.rs:6:19
17+ |
18+ 6 | yield 123;
19+ | ^^^ expected `()`, found integer
You can’t perform that action at this time.
0 commit comments