From b00e6fe3531c902f07f5d4cebdd5ce243ebf405d Mon Sep 17 00:00:00 2001 From: Predrag Gruevski Date: Thu, 15 Aug 2024 17:05:43 +0000 Subject: [PATCH] Re-enable the `trait_no_longer_object_safe` lint. It appears to have been erroneously left out from the list of lints to run. --- src/query.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/query.rs b/src/query.rs index 6be373f1..91438f2e 100644 --- a/src/query.rs +++ b/src/query.rs @@ -171,7 +171,7 @@ pub type OverrideMap = BTreeMap; /// 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>); @@ -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,