File tree 4 files changed +13
-17
lines changed
4 files changed +13
-17
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " async-stream-impl"
3
- version = " 0.3.3 "
3
+ version = " 0.3.4 "
4
4
edition = " 2018"
5
5
rust-version = " 1.45"
6
6
license = " 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
+
1
6
# 0.3.3
2
7
3
8
* 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"
3
3
# When releasing to crates.io:
4
4
# - Update CHANGELOG.md
5
5
# - Create git tag
6
- version = " 0.3.3 "
6
+ version = " 0.3.4 "
7
7
edition = " 2018"
8
8
rust-version = " 1.45"
9
9
license = " MIT"
@@ -12,7 +12,7 @@ description = "Asynchronous streams using async & await notation"
12
12
repository = " https://github.com/tokio-rs/async-stream"
13
13
14
14
[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" }
16
16
futures-core = " 0.3"
17
17
pin-project-lite = " 0.2"
18
18
Original file line number Diff line number Diff line change @@ -12,17 +12,8 @@ error[E0727]: `async` generators are not yet supported
12
12
6 | yield 123;
13
13
| ^^^^^^^^^
14
14
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