]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/associated-types/associated-types-project-from-hrtb-in-fn.rs
New upstream version 1.50.0+dfsg1
[rustc.git] / src / test / ui / associated-types / associated-types-project-from-hrtb-in-fn.rs
index 6eb584ea645ac4b6eb19a75956afcf7283972103..1e23dd8890b9c4bde2da09661b121554c9a2b198 100644 (file)
@@ -11,7 +11,7 @@ pub trait Foo<T> {
 
 fn foo2<I : for<'x> Foo<&'x isize>>(
     x: I::A)
-    //~^ ERROR cannot extract an associated type from a higher-ranked trait bound in this context
+    //~^ ERROR cannot use the associated type of a trait with uninferred generic parameters
 {
     // This case is illegal because we have to instantiate `'x`, and
     // we don't know what region to instantiate it with.