]> git.proxmox.com Git - rustc.git/blob - src/test/ui/const-generics/issues/issue-64494.full.stderr
New upstream version 1.51.0+dfsg1
[rustc.git] / src / test / ui / const-generics / issues / issue-64494.full.stderr
1 error: constant expression depends on a generic parameter
2 --> $DIR/issue-64494.rs:15:53
3 |
4 LL | impl<T: Foo> MyTrait for T where Is<{T::VAL == 5}>: True {}
5 | ^^^^
6 |
7 = note: this may fail depending on what value the parameter takes
8
9 error: constant expression depends on a generic parameter
10 --> $DIR/issue-64494.rs:18:53
11 |
12 LL | impl<T: Foo> MyTrait for T where Is<{T::VAL == 6}>: True {}
13 | ^^^^
14 |
15 = note: this may fail depending on what value the parameter takes
16
17 error: aborting due to 2 previous errors
18