1 error[E0741]: `f32` is forbidden as the type of a const generic parameter
2 --> $DIR/float-generic.rs:5:17
4 LL | fn foo<const F: f32>() {}
7 = note: floats do not derive `Eq` or `Ord`, which are required for const parameters
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0741`.