Skip to content

Commit

Permalink
cargo dev dogfood --fix --allow-dirty
Browse files Browse the repository at this point in the history
  • Loading branch information
lengyijun committed Nov 7, 2024
1 parent 2f5c6d5 commit 204a012
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions clippy_config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ mod metadata;
pub mod msrvs;
pub mod types;

pub use conf::{Conf, get_configuration_metadata, lookup_conf_file, sanitize_explanation};
pub use metadata::ClippyConfiguration;
pub use crate::conf::{Conf, get_configuration_metadata, lookup_conf_file, sanitize_explanation};
pub use crate::metadata::ClippyConfiguration;
2 changes: 1 addition & 1 deletion clippy_lints/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ pub(crate) enum LintCategory {
Internal,
}
#[allow(clippy::enum_glob_use)]
use LintCategory::*;
use crate::LintCategory::*;

impl LintCategory {
fn is_all(self) -> bool {
Expand Down
2 changes: 1 addition & 1 deletion clippy_utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ use std::hash::BuildHasherDefault;
use std::iter::{once, repeat};
use std::sync::{Mutex, MutexGuard, OnceLock};

use crate::visitors::Visitable;
use clippy_config::types::DisallowedPath;
use itertools::Itertools;
use rustc_ast::ast::{self, LitKind, RangeLimits};
Expand Down Expand Up @@ -124,7 +125,6 @@ use rustc_span::source_map::SourceMap;
use rustc_span::symbol::{Ident, Symbol, kw};
use rustc_span::{InnerSpan, Span, sym};
use rustc_target::abi::Integer;
use visitors::Visitable;

use crate::consts::{ConstEvalCtxt, Constant, mir_to_const};
use crate::higher::Range;
Expand Down

0 comments on commit 204a012

Please sign in to comment.