1 error: method `eq` can be confused for the standard trait method `std::cmp::PartialEq::eq`
2 --> $DIR/method_list_2.rs:26:5
4 LL | / pub fn eq(&self, other: &Self) -> bool {
5 LL | | unimplemented!()
9 = note: `-D clippy::should-implement-trait` implied by `-D warnings`
10 = help: consider implementing the trait `std::cmp::PartialEq` or choosing a less ambiguous method name
12 error: method `from_iter` can be confused for the standard trait method `std::iter::FromIterator::from_iter`
13 --> $DIR/method_list_2.rs:30:5
15 LL | / pub fn from_iter<T>(iter: T) -> Self {
16 LL | | unimplemented!()
20 = help: consider implementing the trait `std::iter::FromIterator` or choosing a less ambiguous method name
22 error: method `from_str` can be confused for the standard trait method `std::str::FromStr::from_str`
23 --> $DIR/method_list_2.rs:34:5
25 LL | / pub fn from_str(s: &str) -> Result<Self, Self> {
26 LL | | unimplemented!()
30 = help: consider implementing the trait `std::str::FromStr` or choosing a less ambiguous method name
32 error: method `hash` can be confused for the standard trait method `std::hash::Hash::hash`
33 --> $DIR/method_list_2.rs:38:5
35 LL | / pub fn hash(&self, state: &mut T) {
36 LL | | unimplemented!()
40 = help: consider implementing the trait `std::hash::Hash` or choosing a less ambiguous method name
42 error: method `index` can be confused for the standard trait method `std::ops::Index::index`
43 --> $DIR/method_list_2.rs:42:5
45 LL | / pub fn index(&self, index: usize) -> &Self {
46 LL | | unimplemented!()
50 = help: consider implementing the trait `std::ops::Index` or choosing a less ambiguous method name
52 error: method `index_mut` can be confused for the standard trait method `std::ops::IndexMut::index_mut`
53 --> $DIR/method_list_2.rs:46:5
55 LL | / pub fn index_mut(&mut self, index: usize) -> &mut Self {
56 LL | | unimplemented!()
60 = help: consider implementing the trait `std::ops::IndexMut` or choosing a less ambiguous method name
62 error: method `into_iter` can be confused for the standard trait method `std::iter::IntoIterator::into_iter`
63 --> $DIR/method_list_2.rs:50:5
65 LL | / pub fn into_iter(self) -> Self {
66 LL | | unimplemented!()
70 = help: consider implementing the trait `std::iter::IntoIterator` or choosing a less ambiguous method name
72 error: method `mul` can be confused for the standard trait method `std::ops::Mul::mul`
73 --> $DIR/method_list_2.rs:54:5
75 LL | / pub fn mul(self, rhs: Self) -> Self {
76 LL | | unimplemented!()
80 = help: consider implementing the trait `std::ops::Mul` or choosing a less ambiguous method name
82 error: method `neg` can be confused for the standard trait method `std::ops::Neg::neg`
83 --> $DIR/method_list_2.rs:58:5
85 LL | / pub fn neg(self) -> Self {
86 LL | | unimplemented!()
90 = help: consider implementing the trait `std::ops::Neg` or choosing a less ambiguous method name
92 error: method `next` can be confused for the standard trait method `std::iter::Iterator::next`
93 --> $DIR/method_list_2.rs:62:5
95 LL | / pub fn next(&mut self) -> Option<Self> {
96 LL | | unimplemented!()
100 = help: consider implementing the trait `std::iter::Iterator` or choosing a less ambiguous method name
102 error: method `not` can be confused for the standard trait method `std::ops::Not::not`
103 --> $DIR/method_list_2.rs:66:5
105 LL | / pub fn not(self) -> Self {
106 LL | | unimplemented!()
110 = help: consider implementing the trait `std::ops::Not` or choosing a less ambiguous method name
112 error: method `rem` can be confused for the standard trait method `std::ops::Rem::rem`
113 --> $DIR/method_list_2.rs:70:5
115 LL | / pub fn rem(self, rhs: Self) -> Self {
116 LL | | unimplemented!()
120 = help: consider implementing the trait `std::ops::Rem` or choosing a less ambiguous method name
122 error: method `shl` can be confused for the standard trait method `std::ops::Shl::shl`
123 --> $DIR/method_list_2.rs:74:5
125 LL | / pub fn shl(self, rhs: Self) -> Self {
126 LL | | unimplemented!()
130 = help: consider implementing the trait `std::ops::Shl` or choosing a less ambiguous method name
132 error: method `shr` can be confused for the standard trait method `std::ops::Shr::shr`
133 --> $DIR/method_list_2.rs:78:5
135 LL | / pub fn shr(self, rhs: Self) -> Self {
136 LL | | unimplemented!()
140 = help: consider implementing the trait `std::ops::Shr` or choosing a less ambiguous method name
142 error: method `sub` can be confused for the standard trait method `std::ops::Sub::sub`
143 --> $DIR/method_list_2.rs:82:5
145 LL | / pub fn sub(self, rhs: Self) -> Self {
146 LL | | unimplemented!()
150 = help: consider implementing the trait `std::ops::Sub` or choosing a less ambiguous method name
152 error: aborting due to 15 previous errors