Commit f6014cc
committed
test(toolchain_limitations): update the example of
`Debug` isn't marked with `#[const_trait]`, so we can't implement `const
Debug` on a struct anymore. Fortunately, the original error can still be
reproduced by passing `u32` to `assert_eq!` instead.[ref:const_assert_eq]
1 parent fd8a537 commit f6014cc
1 file changed
+2
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
| 536 | + | |
| 537 | + | |
551 | 538 | | |
552 | 539 | | |
553 | 540 | | |
| |||
0 commit comments