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 17:06:34 +0000
committerEsteban Küber <esteban@kuber.com.ar>2023-01-05 17:09:41 +0000
commitf98f2fcb5e4985bd7b12bae4ec03f2d96197fb2b (patch)
tree875604b1a550ef354e0b24b3e0221423ac27cd59 /src/test
parentb182259d391a033a3a7017a7be7d5494405fc8e9 (diff)
downloadrust-f98f2fcb5e4985bd7b12bae4ec03f2d96197fb2b.tar.gz
rust-f98f2fcb5e4985bd7b12bae4ec03f2d96197fb2b.zip
fix rebase
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
3 files changed, 3 insertions, 3 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 870f2779b8c..1a960133ceb 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
@@ -6,7 +6,7 @@ fn main() {
     v.push(0);
     v.push(1i32); //~ ERROR mismatched types
     //~^ NOTE expected `i32`, found `u32`
-    //~| NOTE arguments to this function are incorrect
+    //~| NOTE arguments to this method are incorrect
     //~| NOTE associated function defined here
     //~| HELP change the type of the numeric literal from `u32` to `i32`
 }
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 a4471e12fc2..92910ae1a31 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
@@ -6,7 +6,7 @@ fn main() {
     v.push(0);
     v.push(1u32); //~ ERROR mismatched types
     //~^ NOTE expected `i32`, found `u32`
-    //~| NOTE arguments to this function are incorrect
+    //~| NOTE arguments to this method are incorrect
     //~| NOTE associated function defined here
     //~| HELP change the type of the numeric literal from `u32` to `i32`
 }
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 c373c6722fd..999c3148362 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
@@ -7,7 +7,7 @@ LL |     v.push(0i32);
 LL |     v.push(1u32);
    |       ---- ^^^^ expected `i32`, found `u32`
    |       |
-   |       arguments to this function are incorrect
+   |       arguments to this method are incorrect
    |
 note: associated function defined here
   --> $SRC_DIR/alloc/src/vec/mod.rs:LL:COL