We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6734230 commit 65b3419Copy full SHA for 65b3419
src/test/ui/const-generics/issues/issue-76595.stderr
@@ -8,13 +8,12 @@ error: constant expression depends on a generic parameter
8
--> $DIR/issue-76595.rs:15:5
9
|
10
LL | fn test<T, const P: usize>() where Bool<{core::mem::size_of::<T>() > 4}>: True {
11
- | ---- required by a bound in this
+ | ---- required by this bound in `test`
12
...
13
LL | test::<2>();
14
| ^^^^^^^^^
15
16
= note: this may fail depending on what value the parameter takes
17
- = note: required by this bound in `test`
18
19
error: aborting due to 2 previous errors
20
0 commit comments