error[E0407]: method `is_valid` is not a member of trait `super::Conversion`
--> examples/unit.rs:13:1
|
13 | / unit! {
14 | | system: uom::si;
15 | | quantity: uom::si::length;
... |
18 | | }
| |_^ not a member of trait `super::Conversion`
|
= note: this error originates in the macro `unit` (in Nightly builds, run with -Z macro-backtrace for more info)
cargo test --all-targetsproduces this compile error: