]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/attrs-with-no-formal-in-generics/attrs-with-no-formal-in-generics-3.rs
New upstream version 1.34.2+dfsg1
[rustc.git] / src / test / ui / attrs-with-no-formal-in-generics / attrs-with-no-formal-in-generics-3.rs
index e9f908d479f649ac7efbbe98d37f306773336732..3cfc70b41850a07ed2836bb10bdfa04b5f51fe6c 100644 (file)
@@ -6,7 +6,7 @@ struct RefIntPair<'a, 'b>(&'a u32, &'b u32);
 
 fn hof_lt<Q>(_: Q)
     where Q: for <#[allow(unused)] 'a, 'b, #[oops]> Fn(RefIntPair<'a,'b>) -> &'b u32
-    //~^ ERROR trailing attribute after lifetime parameters
+    //~^ ERROR trailing attribute after generic parameter
 {}
 
 fn main() {}