]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/usize-generic-argument-parent.rs
Rollup merge of #98640 - cuviper:stable-rust-analyzer, r=Mark-Simulacrum
[rust.git] / src / test / ui / usize-generic-argument-parent.rs
index 6d17ba9b5b26199c599edc7686bfc3c150b36d80..4ab80d944a56fd98fd6ff3e1ab211c175b56c276 100644 (file)
@@ -1,5 +1,5 @@
 fn foo() {
-    let x: usize<foo>; //~ ERROR const arguments are not allowed on this type
+    let x: usize<foo>; //~ ERROR const arguments are not allowed on builtin type `usize`
 }
 
 fn main() {}