]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/typeck/typeck_type_placeholder_lifetime_2.rs
Rollup merge of #95426 - b-naber:valtrees-slice, r=RalfJung,oli-obk
[rust.git] / src / test / ui / typeck / typeck_type_placeholder_lifetime_2.rs
index b491a7e1a9caa20044e827c37e864be00ef81c12..178b8b1229a591850b332500d73f80e9ca84e25d 100644 (file)
@@ -7,5 +7,5 @@ struct Foo<'a, T:'a> {
 
 pub fn main() {
     let c: Foo<_, usize> = Foo { r: &5 };
-    //~^ ERROR this struct takes 1 type argument but 2 type arguments were supplied
+    //~^ ERROR this struct takes 1 generic argument but 2 generic arguments were supplied
 }