fork/rust

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

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

master
338 B10 linesraw
1error: constant expression depends on a generic parameter
2  --> $DIR/const-expr-generic-err2.rs:4:19
3   |
4LL |     let _ = [0u8; const { std::mem::size_of::<T>() }];
5   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: this may fail depending on what value the parameter takes
8
9error: aborting due to previous error
10