From b2e6aef0731990c98a6fb7ac6f890aa359a5e9e6 Mon Sep 17 00:00:00 2001 From: Esteban Küber Date: Thu, 14 Nov 2019 14:08:08 -0800 Subject: review comments: tweak prefix strings --- ...-to-same-trait-object-with-separate-params.stderr | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/test/ui/methods') diff --git a/src/test/ui/methods/method-deref-to-same-trait-object-with-separate-params.stderr b/src/test/ui/methods/method-deref-to-same-trait-object-with-separate-params.stderr index 283ef8fcba7..99e0a466817 100644 --- a/src/test/ui/methods/method-deref-to-same-trait-object-with-separate-params.stderr +++ b/src/test/ui/methods/method-deref-to-same-trait-object-with-separate-params.stderr @@ -4,8 +4,8 @@ error[E0308]: mismatched types LL | let _seetype: () = z; | ^ expected (), found u32 | - = note: expected type `()` - found type `u32` + = note: expected unit type `()` + found type `u32` error[E0308]: mismatched types --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:102:24 @@ -13,8 +13,8 @@ error[E0308]: mismatched types LL | let _seetype: () = z; | ^ expected (), found u64 | - = note: expected type `()` - found type `u64` + = note: expected unit type `()` + found type `u64` error[E0034]: multiple applicable items in scope --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:120:15 @@ -47,8 +47,8 @@ error[E0308]: mismatched types LL | let _seetype: () = z; | ^ expected (), found u8 | - = note: expected type `()` - found type `u8` + = note: expected unit type `()` + found type `u8` error[E0308]: mismatched types --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:155:24 @@ -56,8 +56,8 @@ error[E0308]: mismatched types LL | let _seetype: () = z; | ^ expected (), found u32 | - = note: expected type `()` - found type `u32` + = note: expected unit type `()` + found type `u32` error[E0308]: mismatched types --> $DIR/method-deref-to-same-trait-object-with-separate-params.rs:172:24 @@ -65,8 +65,8 @@ error[E0308]: mismatched types LL | let _seetype: () = z; | ^ expected (), found u32 | - = note: expected type `()` - found type `u32` + = note: expected unit type `()` + found type `u32` error: aborting due to 6 previous errors -- cgit 1.4.1-3-g733a5