You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use defmt::* then try to use the defmt::Format derive, you get this error:
error[E0659]: `unreachable` is ambiguous (glob import vs any other name from outer scope during import/macro resolution)
--> /home/dirbaio/akiles/firmware/ak-common/src/copylist.rs:18:30
|
18 | #[derive(Copy, Clone, Debug, defmt::Format)]
| ^^^^^^^^^^^^^ ambiguous name
|
= note: `unreachable` could refer to a macro from prelude
note: `unreachable` could also refer to the macro imported here
--> /home/dirbaio/akiles/firmware/ak-common/src/copylist.rs:4:5
|
4 | use defmt::*;
| ^^^^^^^^
= help: consider adding an explicit import of `unreachable` to disambiguate
= help: or use `self::unreachable` to refer to this macro unambiguously
= note: this error originates in the derive macro `defmt::Format` (in Nightly bui`lds, run with -Z macro-backtrace for more info)
The fix would probably be specifiying ::core::unreachable!() in the macro output?
The text was updated successfully, but these errors were encountered:
If you
use defmt::*
then try to use thedefmt::Format
derive, you get this error:The fix would probably be specifiying
::core::unreachable!()
in the macro output?The text was updated successfully, but these errors were encountered: