{rustc::lint -> rustc_lint}::internal
This commit is contained in:
parent
03dfa642d9
commit
8c12c424e2
5 changed files with 6 additions and 4 deletions
|
@ -3663,6 +3663,7 @@ dependencies = [
|
|||
"log",
|
||||
"rustc",
|
||||
"rustc_data_structures",
|
||||
"rustc_error_codes",
|
||||
"rustc_errors",
|
||||
"rustc_feature",
|
||||
"rustc_hir",
|
||||
|
|
|
@ -20,7 +20,6 @@ use syntax::sess::feature_err;
|
|||
use rustc_error_codes::*;
|
||||
|
||||
mod context;
|
||||
pub mod internal;
|
||||
mod passes;
|
||||
|
||||
pub use context::add_elided_lifetime_in_path_suggestion;
|
||||
|
|
|
@ -13,6 +13,7 @@ log = "0.4"
|
|||
unicode-security = "0.0.2"
|
||||
rustc = { path = "../librustc" }
|
||||
rustc_errors = { path = "../librustc_errors" }
|
||||
rustc_error_codes = { path = "../librustc_error_codes" }
|
||||
rustc_hir = { path = "../librustc_hir" }
|
||||
rustc_target = { path = "../librustc_target" }
|
||||
syntax = { path = "../libsyntax" }
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
//! Some lints that are only useful in the compiler or crates that use compiler internals, such as
|
||||
//! Clippy.
|
||||
|
||||
use crate::lint::context::{EarlyContext, LateContext, LintContext};
|
||||
use crate::lint::passes::{EarlyLintPass, LateLintPass};
|
||||
use crate::lint::{EarlyContext, LateContext, LintContext};
|
||||
use crate::lint::{EarlyLintPass, LateLintPass};
|
||||
use rustc_data_structures::fx::FxHashMap;
|
||||
use rustc_errors::Applicability;
|
||||
use rustc_hir::{GenericArg, HirId, MutTy, Mutability, Path, PathSegment, QPath, Ty, TyKind};
|
|
@ -26,6 +26,7 @@ extern crate rustc_session;
|
|||
mod array_into_iter;
|
||||
pub mod builtin;
|
||||
mod early;
|
||||
mod internal;
|
||||
mod late;
|
||||
mod levels;
|
||||
mod non_ascii_idents;
|
||||
|
@ -53,10 +54,10 @@ use lint::LintId;
|
|||
|
||||
use array_into_iter::ArrayIntoIter;
|
||||
use builtin::*;
|
||||
use internal::*;
|
||||
use non_ascii_idents::*;
|
||||
use nonstandard_style::*;
|
||||
use redundant_semicolon::*;
|
||||
use rustc::lint::internal::*;
|
||||
use types::*;
|
||||
use unused::*;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue