fork/rust

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

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

master
520 B15 linesraw
1error[E0741]: using function pointers as const generic parameters is forbidden
2  --> $DIR/fn-const-param-call.rs:11:25
3   |
4LL | struct Wrapper<const F: fn() -> u32>;
5   |                         ^^^^^^^^^^^
6
7error[E0741]: using function pointers as const generic parameters is forbidden
8  --> $DIR/fn-const-param-call.rs:13:15
9   |
10LL | impl<const F: fn() -> u32> Wrapper<F> {
11   |               ^^^^^^^^^^^
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0741`.