Skip to content
Permalink
Browse files

{rustc::lint -> rustc_lint}::internal

  • Loading branch information
Centril committed Jan 9, 2020
1 parent 03dfa64 commit 8c12c424e28beb9bf69df8ca0f68096d8b9a6a21
@@ -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::*;

0 comments on commit 8c12c42

Please sign in to comment.
You can’t perform that action at this time.