about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2023-01-05 01:26:44 +0000
committerEsteban Küber <esteban@kuber.com.ar>2023-01-05 16:51:17 +0000
commitb182259d391a033a3a7017a7be7d5494405fc8e9 (patch)
tree8fc6f5909ce64de5e0e61aa0606b58ec4c6c8a67 /src/test
parent98f3936aa7e99f54ff377a77f9b03cea2c2c29d4 (diff)
downloadrust-b182259d391a033a3a7017a7be7d5494405fc8e9.tar.gz
rust-b182259d391a033a3a7017a7be7d5494405fc8e9.zip
review comments: reword
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/type/type-check/point-at-inference-3.fixed2
-rw-r--r--src/test/ui/type/type-check/point-at-inference-3.rs2
-rw-r--r--src/test/ui/type/type-check/point-at-inference-3.stderr2
-rw-r--r--src/test/ui/type/type-check/point-at-inference.stderr2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/test/ui/type/type-check/point-at-inference-3.fixed b/src/test/ui/type/type-check/point-at-inference-3.fixed
index ff299940a57..870f2779b8c 100644
--- a/src/test/ui/type/type-check/point-at-inference-3.fixed
+++ b/src/test/ui/type/type-check/point-at-inference-3.fixed
@@ -2,7 +2,7 @@
 fn main() {
     let mut v = Vec::new();
     v.push(0i32);
-    //~^ NOTE this is of type `i32`, which makes `v` to be inferred as `Vec<i32>`
+    //~^ NOTE this is of type `i32`, which causes `v` to be inferred as `Vec<i32>`
     v.push(0);
     v.push(1i32); //~ ERROR mismatched types
     //~^ NOTE expected `i32`, found `u32`
diff --git a/src/test/ui/type/type-check/point-at-inference-3.rs b/src/test/ui/type/type-check/point-at-inference-3.rs
index 812a39e4aaf..a4471e12fc2 100644
--- a/src/test/ui/type/type-check/point-at-inference-3.rs
+++ b/src/test/ui/type/type-check/point-at-inference-3.rs
@@ -2,7 +2,7 @@
 fn main() {
     let mut v = Vec::new();
     v.push(0i32);
-    //~^ NOTE this is of type `i32`, which makes `v` to be inferred as `Vec<i32>`
+    //~^ NOTE this is of type `i32`, which causes `v` to be inferred as `Vec<i32>`
     v.push(0);
     v.push(1u32); //~ ERROR mismatched types
     //~^ NOTE expected `i32`, found `u32`
diff --git a/src/test/ui/type/type-check/point-at-inference-3.stderr b/src/test/ui/type/type-check/point-at-inference-3.stderr
index 4e777969466..c373c6722fd 100644
--- a/src/test/ui/type/type-check/point-at-inference-3.stderr
+++ b/src/test/ui/type/type-check/point-at-inference-3.stderr
@@ -2,7 +2,7 @@ error[E0308]: mismatched types
   --> $DIR/point-at-inference-3.rs:7:12
    |
 LL |     v.push(0i32);
-   |            ---- this is of type `i32`, which makes `v` to be inferred as `Vec<i32>`
+   |            ---- this is of type `i32`, which causes `v` to be inferred as `Vec<i32>`
 ...
 LL |     v.push(1u32);
    |       ---- ^^^^ expected `i32`, found `u32`
diff --git a/src/test/ui/type/type-check/point-at-inference.stderr b/src/test/ui/type/type-check/point-at-inference.stderr
index 197511bf64e..70428fe841b 100644
--- a/src/test/ui/type/type-check/point-at-inference.stderr
+++ b/src/test/ui/type/type-check/point-at-inference.stderr
@@ -2,7 +2,7 @@ error[E0308]: mismatched types
   --> $DIR/point-at-inference.rs:12:9
    |
 LL |         foo.push(i);
-   |                  - this is of type `&{integer}`, which makes `foo` to be inferred as `Vec<&{integer}>`
+   |                  - this is of type `&{integer}`, which causes `foo` to be inferred as `Vec<&{integer}>`
 ...
 LL |     bar(foo);
    |     --- ^^^ expected `i32`, found `&{integer}`