rust/tests/ui/consts/const-float-classify.stderr

12 lines
434 B
Plaintext
Raw Normal View History

2024-06-21 06:57:24 -05:00
error: const `impl` for trait `PartialEq` which is not marked with `#[const_trait]`
2024-06-25 03:36:40 -05:00
--> $DIR/const-float-classify.rs:13:12
2024-06-21 06:57:24 -05:00
|
LL | impl const PartialEq<NonDet> for bool {
| ^^^^^^^^^^^^^^^^^
|
= note: marking a trait with `#[const_trait]` ensures all default method bodies are `const`
= note: adding a non-const method body in the future would be a breaking change
2024-06-25 03:36:40 -05:00
error: aborting due to 1 previous error
2024-06-21 06:57:24 -05:00