]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/generics/generic-type-params-forward-mention.rs
Rollup merge of #104024 - noeddl:unused-must-use, r=compiler-errors
[rust.git] / src / test / ui / generics / generic-type-params-forward-mention.rs
index ac0cab20d78a2cfc33a560754ba65edd5f571114..000c47095d27ca988f3b3fa944051adea7066b7b 100644 (file)
@@ -1,6 +1,6 @@
 // Ensure that we get an error and not an ICE for this problematic case.
 struct Foo<T = Option<U>, U = bool>(T, U);
-//~^ ERROR type parameters with a default cannot use forward declared identifiers
+//~^ ERROR generic parameters with a default cannot use forward declared identifiers
 fn main() {
     let x: Foo;
 }