paholg / dimensioned

Compile-time dimensional analysis for various unit systems using Rust's type system.
https://crates.io/crates/dimensioned
MIT License
300 stars 23 forks source link

travis fails to build #46

Closed droundy closed 6 years ago

droundy commented 6 years ago

The trouble is that cargo fmt is currently breaking the code. See:

https://github.com/rust-lang-nursery/rustfmt/issues/2880

Presumably this is a newish bug in cargo, since the last commit on master passed, but for now it's making pull requests fail.

paholg commented 6 years ago

I remember running into this; I recall the fix being to use the nightly version of rustfmt, but maybe there was a regression.

paholg commented 6 years ago

Testing some more, this was fixed in 1.28.0. I had to reinstall 1.27.0 to reproduce it.