Skip to content

Replace syntax::filemap with syntax::source_map #2946

Closed
@topecongiro

Description

@topecongiro

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 rust-lang/rust#52953.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueIssues up for grabs, also good candidates for new rustfmt contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions