mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 05:14:52 +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
|
@ -93,7 +93,7 @@ def main(*, name: str, prefix: str, code: str, linter: str) -> None:
|
|||
fp.write(
|
||||
f"""\
|
||||
use ruff_diagnostics::Violation;
|
||||
use ruff_macros::{{derive_message_formats, ViolationMetadata}};
|
||||
use ruff_macros::{{ViolationMetadata, derive_message_formats}};
|
||||
|
||||
use crate::checkers::ast::Checker;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue