many-to-one 8/9: Drop codes from registry

This commit was generated by running:

    fastmod --accept-all '[A-Z]+[0-9]+ => ' '' crates/ruff/src/registry.rs
This commit is contained in:
Martin Fischer 2023-02-01 05:19:45 +01:00 committed by Charlie Marsh
parent 849b947b3e
commit 05176890ee
2 changed files with 482 additions and 485 deletions

View file

@ -117,9 +117,6 @@ impl Parse for Input {
// Grab the `#[cfg(...)]` attributes.
let attrs = input.call(Attribute::parse_outer)?;
// Parse the `RuleCodePrefix::... => ...` part.
let _code: Ident = input.parse()?;
let _: Token![=>] = input.parse()?;
let path: Path = input.parse()?;
let name = path.segments.last().unwrap().ident.clone();
let _: Token![,] = input.parse()?;