Skip to content

Commit

Permalink
Re-enable the trait_no_longer_object_safe lint.
Browse files Browse the repository at this point in the history
It appears to have been erroneously left out from the list of lints to run.
  • Loading branch information
obi1kenobi committed Aug 15, 2024
1 parent 672a799 commit b00e6fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ pub type OverrideMap = BTreeMap<String, QueryOverride>;
/// Stores a stack of [`OverrideMap`] references such that items towards the top of
/// the stack (later in the backing `Vec`) have *higher* precedence and override items lower in the stack.
/// That is, when an override is set and not `None` for a given lint in multiple maps in the stack, the value
/// at the top of the stack will be used to calculate the effective lint level or required version update.
/// at the top of the stack will be used to calculate the effective lint level or required version update.
#[derive(Debug, Clone, Default, PartialEq, Eq)]
pub struct OverrideStack(Vec<Arc<OverrideMap>>);

Expand Down Expand Up @@ -791,6 +791,7 @@ add_lints!(
trait_method_unsafe_removed,
trait_missing,
trait_must_use_added,
trait_no_longer_object_safe,
trait_now_doc_hidden,
trait_removed_associated_constant,
trait_removed_associated_type,
Expand Down

0 comments on commit b00e6fe

Please # to comment.