]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/const-generics/defaults/simple-defaults.min.stderr
New upstream version 1.51.0+dfsg1
[rustc.git] / src / test / ui / const-generics / defaults / simple-defaults.min.stderr
index 59cc6f28af857ffb131fccabc99dba00ff6b788f..0746c64ac8cf4d710c4f0856f38fa83856aaad5a 100644 (file)
@@ -1,8 +1,8 @@
 error: type parameters must be declared prior to const parameters
-  --> $DIR/simple-defaults.rs:9:40
+  --> $DIR/simple-defaults.rs:8:40
    |
 LL | struct FixedOutput<'a, const N: usize, T=u32> {
-   |                   ---------------------^----- help: reorder the parameters: lifetimes, then types, then consts: `<'a, T, const N: usize>`
+   |                   ---------------------^----- help: reorder the parameters: lifetimes, then types, then consts: `<'a, T = u32, const N: usize>`
 
 error: aborting due to previous error