about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2018-08-09 12:25:01 -0400
committerNiko Matsakis <niko@alum.mit.edu>2018-08-24 13:27:38 -0400
commit05c1b89308dc92cf05deb6bc3c051346006be80c (patch)
tree7a74349275c3fa84a4c6c6101c5883d2e5783165
parent016ccf8e6e252201fd01a5c3156d91c5fe882914 (diff)
downloadrust-05c1b89308dc92cf05deb6bc3c051346006be80c.tar.gz
rust-05c1b89308dc92cf05deb6bc3c051346006be80c.zip
rename test case
the 3 is because the type arguments are in the 3rd position
-rw-r--r--src/test/ui/nll/user-annotations/method-ufcs-3.rs (renamed from src/test/ui/nll/user-annotations/method-ufcs.rs)0
-rw-r--r--src/test/ui/nll/user-annotations/method-ufcs-3.stderr (renamed from src/test/ui/nll/user-annotations/method-ufcs.stderr)10
2 files changed, 5 insertions, 5 deletions
diff --git a/src/test/ui/nll/user-annotations/method-ufcs.rs b/src/test/ui/nll/user-annotations/method-ufcs-3.rs
index f4fdb3ee572..f4fdb3ee572 100644
--- a/src/test/ui/nll/user-annotations/method-ufcs.rs
+++ b/src/test/ui/nll/user-annotations/method-ufcs-3.rs
diff --git a/src/test/ui/nll/user-annotations/method-ufcs.stderr b/src/test/ui/nll/user-annotations/method-ufcs-3.stderr
index 4299c8a4c13..7ddea3eb2c6 100644
--- a/src/test/ui/nll/user-annotations/method-ufcs.stderr
+++ b/src/test/ui/nll/user-annotations/method-ufcs-3.stderr
@@ -1,5 +1,5 @@
 error[E0597]: `c` does not live long enough
-  --> $DIR/method-ufcs.rs:48:53
+  --> $DIR/method-ufcs-3.rs:48:53
    |
 LL |     <_ as Bazoom<_>>::method::<&'static u32>(&a, b, &c); //~ ERROR
    |                                                     ^^ borrowed value does not live long enough
@@ -9,7 +9,7 @@ LL | }
    = note: borrowed value must be valid for the static lifetime...
 
 error[E0597]: `c` does not live long enough
-  --> $DIR/method-ufcs.rs:55:48
+  --> $DIR/method-ufcs-3.rs:55:48
    |
 LL |     <_ as Bazoom<_>>::method::<&'a u32>(&a, b, &c); //~ ERROR
    |                                                ^^ borrowed value does not live long enough
@@ -17,13 +17,13 @@ LL | }
    | - `c` dropped here while still borrowed
    |
 note: borrowed value must be valid for the lifetime 'a as defined on the function body at 51:35...
-  --> $DIR/method-ufcs.rs:51:35
+  --> $DIR/method-ufcs-3.rs:51:35
    |
 LL | fn annot_reference_named_lifetime<'a>(_d: &'a u32) {
    |                                   ^^
 
 error[E0597]: `c` does not live long enough
-  --> $DIR/method-ufcs.rs:69:52
+  --> $DIR/method-ufcs-3.rs:69:52
    |
 LL |         <_ as Bazoom<_>>::method::<&'a u32>(&a, b, &c); //~ ERROR
    |                                                    ^^ borrowed value does not live long enough
@@ -31,7 +31,7 @@ LL |     };
    |     - `c` dropped here while still borrowed
    |
 note: borrowed value must be valid for the lifetime 'a as defined on the function body at 64:46...
-  --> $DIR/method-ufcs.rs:64:46
+  --> $DIR/method-ufcs-3.rs:64:46
    |
 LL | fn annot_reference_named_lifetime_in_closure<'a>(_: &'a u32) {
    |                                              ^^