Skip to content

Commit c7c2036

Browse files
committed
Fix remaining dogfood errors
Except for the missing docs ones
1 parent 588367b commit c7c2036

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ Released 2020-11-19
964964
[#5907](https://github.com/rust-lang/rust-clippy/pull/5907)
965965
* [`suspicious_arithmetic_impl`]: extend to implementations of `BitAnd`, `BitOr`, `BitXor`, `Rem`, `Shl`, and `Shr`
966966
[#5884](https://github.com/rust-lang/rust-clippy/pull/5884)
967-
* [`invalid_atomic_ordering`]: detect misuse of `compare_exchange`, `compare_exchange_weak`, and `fetch_update`
967+
* `invalid_atomic_ordering`: detect misuse of `compare_exchange`, `compare_exchange_weak`, and `fetch_update`
968968
[#6025](https://github.com/rust-lang/rust-clippy/pull/6025)
969969
* Avoid [`redundant_pattern_matching`] triggering in macros
970970
[#6069](https://github.com/rust-lang/rust-clippy/pull/6069)
@@ -1451,7 +1451,7 @@ Released 2020-03-12
14511451
* [`option_as_ref_deref`] [#4945](https://github.com/rust-lang/rust-clippy/pull/4945)
14521452
* [`wildcard_in_or_patterns`] [#4960](https://github.com/rust-lang/rust-clippy/pull/4960)
14531453
* [`iter_nth_zero`] [#4966](https://github.com/rust-lang/rust-clippy/pull/4966)
1454-
* [`invalid_atomic_ordering`] [#4999](https://github.com/rust-lang/rust-clippy/pull/4999)
1454+
* `invalid_atomic_ordering` [#4999](https://github.com/rust-lang/rust-clippy/pull/4999)
14551455
* [`skip_while_next`] [#5067](https://github.com/rust-lang/rust-clippy/pull/5067)
14561456

14571457
### Moves and Deprecations

clippy_utils/src/qualify_min_const_fn.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ pub fn is_min_const_fn(tcx: TyCtxt<'tcx>, body: &'a Body<'tcx>, msrv: Option<&Ru
3636
ty::PredicateKind::ObjectSafe(_) => panic!("object safe predicate on function: {:#?}", predicate),
3737
ty::PredicateKind::ClosureKind(..) => panic!("closure kind predicate on function: {:#?}", predicate),
3838
ty::PredicateKind::Subtype(_) => panic!("subtype predicate on function: {:#?}", predicate),
39-
ty::PredicateKind::Coerce(_) => {
40-
panic!("coerce predicate on function: {:#?}", predicate)
41-
},
39+
ty::PredicateKind::Coerce(_) => panic!("coerce predicate on function: {:#?}", predicate),
4240
ty::PredicateKind::Trait(pred) => {
4341
if Some(pred.def_id()) == tcx.lang_items().sized_trait() {
4442
continue;

0 commit comments

Comments
 (0)