fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
719 B18 linesraw
1error: constant expression depends on a generic parameter
2  --> $DIR/issue-50439.rs:25:22
3   |
4LL |         let _ = [(); 0 - !!(<Bears<T> as ReflectDrop>::REFLECT_DROP) as usize];
5   |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: this may fail depending on what value the parameter takes
8
9error: constant expression depends on a generic parameter
10  --> $DIR/issue-50439.rs:25:17
11   |
12LL |         let _ = [(); 0 - !!(<Bears<T> as ReflectDrop>::REFLECT_DROP) as usize];
13   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14   |
15   = note: this may fail depending on what value the parameter takes
16
17error: aborting due to 2 previous errors
18