mirror of
https://github.com/astral-sh/ruff
synced 2026-01-10 16:15:19 -05:00
Switch to Rust 2024 edition (#18129)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user