]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-22638.rs
rustc: support impl's in PrintCx::parameterized.
[rust.git] / src / test / ui / issues / issue-22638.rs
index fab24404eba7d43b79965706921f66eab17a59c6..ff58c7aaced03186b1bf5809147ed72fe30a3098 100644 (file)
@@ -50,7 +50,7 @@ pub fn matches<F: Fn()>(&self, f: &F) {
 
 impl D {
     pub fn matches<F: Fn()>(&self, f: &F) {
-        //~^ ERROR reached the type-length limit while instantiating `D::matches::<[closure
+        //~^ ERROR reached the type-length limit while instantiating `<D>::matches::<[closure
         let &D(ref a) = self;
         a.matches(f)
     }