about summary refs log tree commit diff
path: root/src/test/ui/methods/method-call-err-msg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/methods/method-call-err-msg.rs')
-rw-r--r--src/test/ui/methods/method-call-err-msg.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/methods/method-call-err-msg.rs b/src/test/ui/methods/method-call-err-msg.rs
index 9bfacc7babf..86d00ca3760 100644
--- a/src/test/ui/methods/method-call-err-msg.rs
+++ b/src/test/ui/methods/method-call-err-msg.rs
@@ -16,7 +16,7 @@ fn main() {
 
     let y = Foo;
     y.zero()
-     .take()    //~ ERROR no method named `take` found
+     .take()    //~ ERROR the method
      .one(0);
     y.three::<usize>(); //~ ERROR this function takes 3 arguments but 0 arguments were supplied
 }