**Steps** 1. Update Cargo.toml and use the latest `rustc-ap-*` crates. 2. Replace `syntax::codemap` with `syntax::source_map`. 3. Replace old structs to the new ones (e.g. `FileMap` to `SourceFile`) until rustfmt compiles. cc https://github.com/rust-lang/rust/pull/52953.