mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 18:28:24 +00:00
Move binding and scope tracking into a separate ast::Context
struct (#3298)
This commit is contained in:
parent
376ef929b1
commit
40d3b40c14
128 changed files with 1425 additions and 1174 deletions
|
@ -66,7 +66,6 @@ pub fn register_rules(input: &Input) -> proc_macro2::TokenStream {
|
|||
#[derive(AsRefStr, Debug, PartialEq, Eq, Serialize, Deserialize)]
|
||||
pub enum DiagnosticKind { #diagnostic_kind_variants }
|
||||
|
||||
|
||||
impl Rule {
|
||||
/// Returns the format strings used to report violations of this rule.
|
||||
pub fn message_formats(&self) -> &'static [&'static str] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue