1
Fork 0

path trimming: ignore type aliases

This commit is contained in:
Dan Aloni 2021-01-28 18:01:36 +02:00
parent cfba499271
commit eaefe4a230
79 changed files with 192 additions and 191 deletions

View file

@ -59,22 +59,22 @@ error[E0308]: mismatched types
--> $DIR/async-block-control-flow-static-semantics.rs:47:44
|
LL | fn rethrow_targets_async_block_not_fn() -> Result<u8, MyErr> {
| ---------------------------------- ^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()`
| ---------------------------------- ^^^^^^^^^^^^^^^^^ expected enum `Result`, found `()`
| |
| implicitly returns `()` as its body has no tail or `return` expression
|
= note: expected enum `std::result::Result<u8, MyErr>`
= note: expected enum `Result<u8, MyErr>`
found unit type `()`
error[E0308]: mismatched types
--> $DIR/async-block-control-flow-static-semantics.rs:56:50
|
LL | fn rethrow_targets_async_block_not_async_fn() -> Result<u8, MyErr> {
| ---------------------------------------- ^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()`
| ---------------------------------------- ^^^^^^^^^^^^^^^^^ expected enum `Result`, found `()`
| |
| implicitly returns `()` as its body has no tail or `return` expression
|
= note: expected enum `std::result::Result<u8, MyErr>`
= note: expected enum `Result<u8, MyErr>`
found unit type `()`
error: aborting due to 8 previous errors