]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/usize-generic-argument-parent.stderr
Rollup merge of #98640 - cuviper:stable-rust-analyzer, r=Mark-Simulacrum
[rust.git] / src / test / ui / usize-generic-argument-parent.stderr
index abe8c09b739f72a9d63119608458d64d0bda55fa..131c476aa55c0c2ba808c918af3feb00f023c690 100644 (file)
@@ -1,10 +1,10 @@
-error[E0109]: const arguments are not allowed on this type
+error[E0109]: const arguments are not allowed on builtin type `usize`
   --> $DIR/usize-generic-argument-parent.rs:2:18
    |
 LL |     let x: usize<foo>;
    |            ----- ^^^ const argument not allowed
    |            |
-   |            not allowed on this type
+   |            not allowed on builtin type `usize`
    |
 help: primitive type `usize` doesn't have generic parameters
    |