Skip to content

Commit bf41b96

Browse files
authored
Prepare v0.3.4 release (#92)
1 parent c0fcab7 commit bf41b96

File tree

4 files changed

+13
-17
lines changed

4 files changed

+13
-17
lines changed

async-stream-impl/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "async-stream-impl"
3-
version = "0.3.3"
3+
version = "0.3.4"
44
edition = "2018"
55
rust-version = "1.45"
66
license = "MIT"

async-stream/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
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)

async-stream/Cargo.toml

+2-2
Original file line numberDiff line numberDiff 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"
77
edition = "2018"
88
rust-version = "1.45"
99
license = "MIT"
@@ -12,7 +12,7 @@ description = "Asynchronous streams using async & await notation"
1212
repository = "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" }
1616
futures-core = "0.3"
1717
pin-project-lite = "0.2"
1818

async-stream/tests/ui/yield_in_async.stderr

+5-14
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,8 @@ error[E0727]: `async` generators are not yet supported
1212
6 | 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

0 commit comments

Comments
 (0)