mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-02 22:55:08 +00:00
Switch to Rust 2024 edition (#18129)
This commit is contained in:
parent
e67b35743a
commit
9ae698fe30
1082 changed files with 4211 additions and 3300 deletions
|
@ -2,10 +2,10 @@ use std::collections::{BTreeMap, HashMap};
|
|||
|
||||
use itertools::Itertools;
|
||||
use proc_macro2::TokenStream;
|
||||
use quote::{quote, ToTokens};
|
||||
use quote::{ToTokens, quote};
|
||||
use syn::{
|
||||
parenthesized, parse::Parse, spanned::Spanned, Attribute, Error, Expr, ExprCall, ExprMatch,
|
||||
Ident, ItemFn, LitStr, Pat, Path, Stmt, Token,
|
||||
Attribute, Error, Expr, ExprCall, ExprMatch, Ident, ItemFn, LitStr, Pat, Path, Stmt, Token,
|
||||
parenthesized, parse::Parse, spanned::Spanned,
|
||||
};
|
||||
|
||||
use crate::rule_code_prefix::{get_prefix_ident, intersection_all};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue