]> git.proxmox.com Git - rustc.git/blob - tests/ui/associated-item/associated-item-duplicate-bounds.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / associated-item / associated-item-duplicate-bounds.stderr
1 error: generic parameters may not be used in const operations
2 --> $DIR/associated-item-duplicate-bounds.rs:7:18
3 |
4 LL | links: [u32; A::LINKS], // Shouldn't suggest bounds already there.
5 | ^^^^^^^^ cannot perform const operation using `A`
6 |
7 = note: type parameters may not be used in const expressions
8 = help: use `#![feature(generic_const_exprs)]` to allow generic const expressions
9
10 error: aborting due to previous error
11