mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-24 13:33:50 +00:00
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:
parent
849b947b3e
commit
05176890ee
2 changed files with 482 additions and 485 deletions
|
@ -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()?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue