]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/generics/generic-impl-less-params-with-defaults.stderr
New upstream version 1.54.0+dfsg1
[rustc.git] / src / test / ui / generics / generic-impl-less-params-with-defaults.stderr
index a8a17876ee0fdab5578fc30c42fc6f3c41c50680..2c7ffde7ddb97bb2ec406442a7a94731c236433b 100644 (file)
@@ -1,17 +1,17 @@
-error[E0107]: this struct takes at least 2 type arguments but only 1 type argument was supplied
+error[E0107]: this struct takes at least 2 generic arguments but 1 generic argument was supplied
   --> $DIR/generic-impl-less-params-with-defaults.rs:11:5
    |
 LL |     Foo::<isize>::new();
-   |     ^^^   ----- supplied 1 type argument
+   |     ^^^   ----- supplied 1 generic argument
    |     |
-   |     expected at least 2 type arguments
+   |     expected at least 2 generic arguments
    |
-note: struct defined here, with at least 2 type parameters: `A`, `B`
+note: struct defined here, with at least 2 generic parameters: `A`, `B`
   --> $DIR/generic-impl-less-params-with-defaults.rs:3:8
    |
 LL | struct Foo<A, B, C = (A, B)>(
    |        ^^^ -  -
-help: add missing type argument
+help: add missing generic argument
    |
 LL |     Foo::<isize, B>::new();
    |                ^^^