]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/issue-22638.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / issue-22638.rs
index e8c17ca0b362b8b584cc3b6072df4e430b82f89e..0c8c2311dcaa583eb662b00dda4ce4bdadea8f8a 100644 (file)
@@ -17,7 +17,7 @@ struct A (B);
 
 impl A {
     pub fn matches<F: Fn()>(&self, f: &F) {
-        //~^ ERROR reached the recursion limit during monomorphization
+        //~^ ERROR reached the recursion limit while instantiating `A::matches::<[closure
         let &A(ref term) = self;
         term.matches(f);
     }