Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit 104e452

Browse files
committed
ices/98813.rs: fixed with errors
=== stdout === === stderr === warning: the feature `adt_const_params` is incomplete and may not be safe to use and/or cause compiler crashes --> /home/runner/work/glacier/glacier/ices/98813.rs:1:12 | 1 | #![feature(adt_const_params)] | ^^^^^^^^^^^^^^^^ | = note: `#[warn(incomplete_features)]` on by default = note: see issue #95174 <rust-lang/rust#95174> for more information error[E0741]: `f64` is forbidden as the type of a const generic parameter --> /home/runner/work/glacier/glacier/ices/98813.rs:5:25 | 5 | pub struct Foo<const X: f64> {} | ^^^ | = note: floats do not derive `Eq` or `Ord`, which are required for const parameters error: aborting due to previous error; 1 warning emitted For more information about this error, try `rustc --explain E0741`. ==============
1 parent 5195146 commit 104e452

File tree

1 file changed

+0
-0
lines changed

1 file changed

+0
-0
lines changed
File renamed without changes.

0 commit comments

Comments
 (0)