mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 22:31:47 +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
|
@ -3,16 +3,16 @@ use std::borrow::Cow;
|
|||
use rustc_hash::FxHashMap;
|
||||
|
||||
use crate::{
|
||||
PositionEncoding,
|
||||
edit::{Replacement, ToRangeExt},
|
||||
resolve::is_document_excluded_for_linting,
|
||||
session::DocumentQuery,
|
||||
PositionEncoding,
|
||||
};
|
||||
use ruff_linter::package::PackageRoot;
|
||||
use ruff_linter::{
|
||||
linter::FixerResult,
|
||||
packaging::detect_package_root,
|
||||
settings::{flags, LinterSettings},
|
||||
settings::{LinterSettings, flags},
|
||||
};
|
||||
use ruff_notebook::SourceValue;
|
||||
use ruff_source_file::LineIndex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue