Move binding and scope tracking into a separate ast::Context struct (#3298)

This commit is contained in:
Charlie Marsh 2023-03-04 14:01:20 -05:00 committed by GitHub
parent 376ef929b1
commit 40d3b40c14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
128 changed files with 1425 additions and 1174 deletions

View file

@ -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] {