mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-05 08:00:27 +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
|
@ -125,7 +125,7 @@ impl StringParser {
|
|||
return Err(LexicalError::new(
|
||||
LexicalErrorType::UnicodeError,
|
||||
TextRange::empty(self.position()),
|
||||
))
|
||||
));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -471,7 +471,7 @@ mod tests {
|
|||
use ruff_python_ast::Suite;
|
||||
|
||||
use crate::error::LexicalErrorType;
|
||||
use crate::{parse_module, FStringErrorType, ParseError, ParseErrorType, Parsed};
|
||||
use crate::{FStringErrorType, ParseError, ParseErrorType, Parsed, parse_module};
|
||||
|
||||
const WINDOWS_EOL: &str = "\r\n";
|
||||
const MAC_EOL: &str = "\r";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue