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
Fix compilation error when printing Error with defmt
This fixes compilation errors like below:
```
error[E0277]: the trait bound `nom::internal::Err<nom::error::Error<&str>>: Format` is not satisfied
--> nyan.rs:245:21
|
245 | defmt::warn!("{:a}: {}", line, err);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Format` is not implemented for `nom::internal::Err<nom::error::Error<&str>>`
|
= help: the following other types implement trait `Format`:
&T
&mut T
()
(T0, T1)
(T0, T1, T2)
(T0, T1, T2, T3)
(T0, T1, T2, T3, T4)
(T0, T1, T2, T3, T4, T5)
and 234 others
= note: required for `nmea::Error<'_>` to implement `Format`
note: required by a bound in `defmt::export::fmt`
```
0 commit comments