1 #![allow(unused_variables, clippy::blacklisted_name)]
2 #![warn(clippy::op_ref)]
3 use std::collections::HashSet;
7 let tracked_fds: HashSet<i32> = HashSet::new();
8 let new_fds = HashSet::new();
9 let unwanted = &tracked_fds - &new_fds;
13 let bar = String::new();
14 let bar = "foo" == &bar;
16 let a = "a".to_string();
26 fn bitand(self, rhs: X) -> X {
30 impl<'a> BitAnd<&'a X> for X {
32 fn bitand(self, rhs: &'a X) -> X {
40 #[derive(Copy, Clone)]
44 fn bitand(self, rhs: Y) -> Y {
48 impl<'a> BitAnd<&'a Y> for Y {
50 fn bitand(self, rhs: &'a Y) -> Y {