( )⚙ D11938 rust: Upgrade to format-bytes 0.3

This is an archive of the discontinued Mercurial Phabricator instance.

rust: Upgrade to format-bytes 0.3
ClosedPublic

Authored by SimonSapin on Dec 17 2021, 5:47 AM.

Details

Summary

This removes use of the proc-macro-hack crate, which is possible now that
we don’t support Rust 1.41 to 1.44 anymore.

This in turn fixes spurious errors reported by rust-analyser:
https://github.com/rust-analyzer/rust-analyzer/issues/9606#issuecomment-919240134

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

SimonSapin created this revision.Dec 17 2021, 5:47 AM
SimonSapin edited the summary of this revision. (Show Details)Dec 17 2021, 5:55 AM
Alphare accepted this revision.Dec 17 2021, 6:05 AM
This revision is now accepted and ready to land.Dec 17 2021, 6:05 AM
This revision was automatically updated to reflect the committed changes.