Implementing refactoring

Hi, I am looking at implementing some refactorings for Rust and I was thinking of adding a lint in Clippy for that, but are there other options where I can pass arguments to the lint/refactoring method and being able to use it as a tool, while reusing the parser and typechecker of rustc?

There's rerast that performs automatic source rewriting based on example code.

1 Like

Thanks! So I can rustc directly without dependencies in the Cargo.toml file as long as I am on the nightly release channel?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.