mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-30 00:00:16 +02:00
chore: fix output of macro after new rustc release (#4189)
This commit is contained in:
@@ -9,11 +9,11 @@ error[E0308]: mismatched types
|
|||||||
help: consider using a semicolon here
|
help: consider using a semicolon here
|
||||||
|
|
|
|
||||||
5 | Ok(());
|
5 | Ok(());
|
||||||
| ^
|
| +
|
||||||
help: try adding a return type
|
help: try adding a return type
|
||||||
|
|
|
|
||||||
4 | async fn missing_semicolon_or_return_type() -> Result<(), _> {
|
4 | async fn missing_semicolon_or_return_type() -> Result<(), _> {
|
||||||
| ^^^^^^^^^^^^^^^^
|
| ++++++++++++++++
|
||||||
|
|
||||||
error[E0308]: mismatched types
|
error[E0308]: mismatched types
|
||||||
--> $DIR/macros_type_mismatch.rs:10:5
|
--> $DIR/macros_type_mismatch.rs:10:5
|
||||||
|
|||||||
Reference in New Issue
Block a user