#![allow(clippy::stable_sort_primitive)]
use std::cell::Ref;
-use std::cmp::Reverse;
fn unnecessary_sort_by() {
fn id(x: isize) -> isize {
// The closure parameter is not dereferenced anymore, so non-Copy types can be linted
mod issue_6001 {
- use super::*;
struct Test(String);
impl Test {