| 1 |
error[E0277]: the trait bound `SECTION: link_section::__support::SectionItemTyped<u64>` is not satisfied |
| 2 |
--> tests/errors/bad_item.rs:12:1 |
| 3 |
| |
| 4 |
12 | #[in_section(SECTION)] |
| 5 |
| ^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound |
| 6 |
| |
| 7 |
help: the trait `SectionItemTyped<u64>` is not implemented for `SECTION` |
| 8 |
but trait `SectionItemTyped<u32>` is implemented for it |
| 9 |
--> tests/errors/bad_item.rs:3:1 |
| 10 |
| |
| 11 |
3 | #[section(typed)] |
| 12 |
| ^^^^^^^^^^^^^^^^^ |
| 13 |
= help: for that trait implementation, expected `u32`, found `u64` |
| 14 |
= note: this error originates in the macro `$crate::__in_section_crate` which comes from the expansion of the attribute macro `section` (in Nightly builds, run with -Z macro-backtrace for more info) |