rust-lang/rustfix

`cargo fix` has issues with stabilized i128 type

abreis opened this issue · 1 comments

Running cargo fix --edition on one of my packages throws the following error:

error[E0599]: no variant named `write_u128` found for type `byteorder::LittleEndian` in the current scope                                                               
  --> _/_/src/proto.rs:25:9                                                                                                                                  
   |                                                                                                                                                                    
25 |         LittleEndian::write_u128(&mut self.id, value);                                                                                                             
   |         ^^^^^^^^^^^^^^^^^^^^^^^^ variant not found in `byteorder::LittleEndian`                                                                                    

The package itself compiles with no issue, both pre- and post-2018 edition migration.

write_u128() is a method of the byteorder crate that used to require a feature flag for 128-bit integer support, until that feature was stabilized in Rust 1.26.

Not actually a problem with rustfix, please disregard.