1 #![allow(unused_variables, clippy::blacklisted_name)]
2 #![warn(clippy::op_ref)]
3 #![allow(clippy::many_single_char_names)]
4 use std::collections::HashSet;
8 let tracked_fds: HashSet<i32> = HashSet::new();
9 let new_fds = HashSet::new();
10 let unwanted = &tracked_fds - &new_fds;
14 let bar = String::new();
15 let bar = "foo" == &bar;
17 let a = "a".to_string();
27 fn bitand(self, rhs: X) -> X {
31 impl<'a> BitAnd<&'a X> for X {
33 fn bitand(self, rhs: &'a X) -> X {
41 #[derive(Copy, Clone)]
45 fn bitand(self, rhs: Y) -> Y {
49 impl<'a> BitAnd<&'a Y> for Y {
51 fn bitand(self, rhs: &'a Y) -> Y {