<commit_before>// error-pattern:cargo-clippy

#![feature(box_syntax)]
#![feature(rustc_private)]
#![feature(slice_patterns)]
#![feature(stmt_expr_attributes)]
#![feature(range_contains)]
#![allow(unknown_lints, clippy::shadow_reuse, clippy::missing_docs_in_private_items)]
#![recursion_limit = "256"]
#![feature(macro_at_most_once_rep)]
#![feature(tool_lints)]
#![warn(rust_2018_idioms)]

use toml;
use rustc_plugin;
use rustc;


macro_rules! declare_clippy_lint {
    { pub $name:tt, style, $description:tt } => {
        declare_tool_lint! { pub clippy::$name, Warn, $description, report_in_external_macro: true }
    };
    { pub $name:tt, correctness, $description:tt } => {
        declare_tool_lint! { pub clippy::$name, Deny, $description, report_in_external_macro: true }
    };
    { pub $name:tt, complexity, $description:tt } => {
        declare_tool_lint! { pub clippy::$name, Warn, $description, report_in_external_macro: true }
    };
    { pub $name:tt, perf, $description:tt } => {
        declare_tool_lint! { pub clippy::$name, Warn, $description, report_in_external_macro: true }
    };
    { pub $name:tt, pedantic, $description:tt } => {
        declare_tool_lint! { pub clippy::$name, Allow, $description, report_in_external_macro: true }
    };
    { pub $name:tt, restriction, $description:tt } => {<commit_msg>clippy_lints: enable crate_visibility_modifier since it is used but no longer part of 2018 edition.<commit_after>// error-pattern:cargo-clippy

#![feature(box_syntax)]
#![feature(rustc_private)]
#![feature(slice_patterns)]
#![feature(stmt_expr_attributes)]
#![feature(range_contains)]
#![allow(unknown_lints, clippy::shadow_reuse, clippy::missing_docs_in_private_items)]
#![recursion_limit = "256"]
#![feature(macro_at_most_once_rep)]
#![feature(tool_lints)]
#![warn(rust_2018_idioms)]
#![feature(crate_visibility_modifier)]

use toml;
use rustc_plugin;
use rustc;


macro_rules! declare_clippy_lint {
    { pub $name:tt, style, $description:tt } => {
        declare_tool_lint! { pub clippy::$name, Warn, $description, report_in_external_macro: true }
    };
    { pub $name:tt, correctness, $description:tt } => {
        declare_tool_lint! { pub clippy::$name, Deny, $description, report_in_external_macro: true }
    };
    { pub $name:tt, complexity, $description:tt } => {
        declare_tool_lint! { pub clippy::$name, Warn, $description, report_in_external_macro: true }
    };
    { pub $name:tt, perf, $description:tt } => {
        declare_tool_lint! { pub clippy::$name, Warn, $description, report_in_external_macro: true }
    };
    { pub $name:tt, pedantic, $description:tt } => {
        declare_tool_lint! { pub clippy::$name, Allow, $description, report_in_external_macro: true }
    };
    { pub $name:tt, restriction, $description:tt } => {
{'fraction_non_alphanumeric': 0.15373614587057563, 'fraction_numerical': 0.006435466571326421, 'mean_word_length': 5.301801801801802, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6401776', 'n_tokens_mistral': 986, 'n_tokens_neox': 958, 'n_words': 178}