summary refs log tree commit diff
path: root/src/test/ui/methods
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2019-11-14 14:08:08 -0800
committerEsteban Küber <esteban@kuber.com.ar>2019-11-18 11:02:44 -0800
commitb2e6aef0731990c98a6fb7ac6f890aa359a5e9e6 (patch)
treedf1407f0fe6c3c53725fcf0f93a5ec293ca86247 /src/test/ui/methods
parent83ffda5216a9a4248221b980ee08c30ac6e517f8 (diff)
downloadrust-b2e6aef0731990c98a6fb7ac6f890aa359a5e9e6.tar.gz
rust-b2e6aef0731990c98a6fb7ac6f890aa359a5e9e6.zip
review comments: tweak prefix strings
Diffstat (limited to 'src/test/ui/methods')
-rw-r--r--src/test/ui/methods/method-deref-to-same-trait-object-with-separate-params.stderr20
1 files changed, 10 insertions, 10 deletions
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