Enabling si will turn Quantity into example_system::Quantity in some of the compile fail tests.
This is quite annoying because we can only declare one of them as correct.
For now I ran CI with SI, but that's not a very good solution. Flagging all the tests with #[cfg(feature = "si")] also seems overly restrictive. I think the proper solution here (that does not involve rewriting trybuild functionality) is to move the compile_fail tests into diman_unit_system. This is currently not possible because of #14 , which I'll resolve shortly.
Enabling
si
will turnQuantity
intoexample_system::Quantity
in some of the compile fail tests. This is quite annoying because we can only declare one of them as correct. For now I ran CI with SI, but that's not a very good solution. Flagging all the tests with#[cfg(feature = "si")]
also seems overly restrictive. I think the proper solution here (that does not involve rewritingtrybuild
functionality) is to move the compile_fail tests intodiman_unit_system
. This is currently not possible because of #14 , which I'll resolve shortly.