11error: method `eq` can be confused for the standard trait method `std::cmp::PartialEq::eq`
2- --> $DIR/method_list_2.rs:25 :5
2+ --> $DIR/method_list_2.rs:26 :5
33 |
44LL | / pub fn eq(&self, other: &Self) -> bool {
55LL | | unimplemented!()
@@ -10,7 +10,7 @@ LL | | }
1010 = help: consider implementing the trait `std::cmp::PartialEq` or choosing a less ambiguous method name
1111
1212error: method `from_iter` can be confused for the standard trait method `std::iter::FromIterator::from_iter`
13- --> $DIR/method_list_2.rs:29 :5
13+ --> $DIR/method_list_2.rs:30 :5
1414 |
1515LL | / pub fn from_iter<T>(iter: T) -> Self {
1616LL | | unimplemented!()
@@ -20,7 +20,7 @@ LL | | }
2020 = help: consider implementing the trait `std::iter::FromIterator` or choosing a less ambiguous method name
2121
2222error: method `from_str` can be confused for the standard trait method `std::str::FromStr::from_str`
23- --> $DIR/method_list_2.rs:33 :5
23+ --> $DIR/method_list_2.rs:34 :5
2424 |
2525LL | / pub fn from_str(s: &str) -> Result<Self, Self> {
2626LL | | unimplemented!()
@@ -30,7 +30,7 @@ LL | | }
3030 = help: consider implementing the trait `std::str::FromStr` or choosing a less ambiguous method name
3131
3232error: method `hash` can be confused for the standard trait method `std::hash::Hash::hash`
33- --> $DIR/method_list_2.rs:37 :5
33+ --> $DIR/method_list_2.rs:38 :5
3434 |
3535LL | / pub fn hash(&self, state: &mut T) {
3636LL | | unimplemented!()
@@ -40,7 +40,7 @@ LL | | }
4040 = help: consider implementing the trait `std::hash::Hash` or choosing a less ambiguous method name
4141
4242error: method `index` can be confused for the standard trait method `std::ops::Index::index`
43- --> $DIR/method_list_2.rs:41 :5
43+ --> $DIR/method_list_2.rs:42 :5
4444 |
4545LL | / pub fn index(&self, index: usize) -> &Self {
4646LL | | unimplemented!()
@@ -50,7 +50,7 @@ LL | | }
5050 = help: consider implementing the trait `std::ops::Index` or choosing a less ambiguous method name
5151
5252error: method `index_mut` can be confused for the standard trait method `std::ops::IndexMut::index_mut`
53- --> $DIR/method_list_2.rs:45 :5
53+ --> $DIR/method_list_2.rs:46 :5
5454 |
5555LL | / pub fn index_mut(&mut self, index: usize) -> &mut Self {
5656LL | | unimplemented!()
@@ -60,7 +60,7 @@ LL | | }
6060 = help: consider implementing the trait `std::ops::IndexMut` or choosing a less ambiguous method name
6161
6262error: method `into_iter` can be confused for the standard trait method `std::iter::IntoIterator::into_iter`
63- --> $DIR/method_list_2.rs:49 :5
63+ --> $DIR/method_list_2.rs:50 :5
6464 |
6565LL | / pub fn into_iter(self) -> Self {
6666LL | | unimplemented!()
@@ -70,7 +70,7 @@ LL | | }
7070 = help: consider implementing the trait `std::iter::IntoIterator` or choosing a less ambiguous method name
7171
7272error: method `mul` can be confused for the standard trait method `std::ops::Mul::mul`
73- --> $DIR/method_list_2.rs:53 :5
73+ --> $DIR/method_list_2.rs:54 :5
7474 |
7575LL | / pub fn mul(self, rhs: Self) -> Self {
7676LL | | unimplemented!()
@@ -80,7 +80,7 @@ LL | | }
8080 = help: consider implementing the trait `std::ops::Mul` or choosing a less ambiguous method name
8181
8282error: method `neg` can be confused for the standard trait method `std::ops::Neg::neg`
83- --> $DIR/method_list_2.rs:57 :5
83+ --> $DIR/method_list_2.rs:58 :5
8484 |
8585LL | / pub fn neg(self) -> Self {
8686LL | | unimplemented!()
@@ -90,7 +90,7 @@ LL | | }
9090 = help: consider implementing the trait `std::ops::Neg` or choosing a less ambiguous method name
9191
9292error: method `next` can be confused for the standard trait method `std::iter::Iterator::next`
93- --> $DIR/method_list_2.rs:61 :5
93+ --> $DIR/method_list_2.rs:62 :5
9494 |
9595LL | / pub fn next(&mut self) -> Option<Self> {
9696LL | | unimplemented!()
@@ -100,7 +100,7 @@ LL | | }
100100 = help: consider implementing the trait `std::iter::Iterator` or choosing a less ambiguous method name
101101
102102error: method `not` can be confused for the standard trait method `std::ops::Not::not`
103- --> $DIR/method_list_2.rs:65 :5
103+ --> $DIR/method_list_2.rs:66 :5
104104 |
105105LL | / pub fn not(self) -> Self {
106106LL | | unimplemented!()
@@ -110,7 +110,7 @@ LL | | }
110110 = help: consider implementing the trait `std::ops::Not` or choosing a less ambiguous method name
111111
112112error: method `rem` can be confused for the standard trait method `std::ops::Rem::rem`
113- --> $DIR/method_list_2.rs:69 :5
113+ --> $DIR/method_list_2.rs:70 :5
114114 |
115115LL | / pub fn rem(self, rhs: Self) -> Self {
116116LL | | unimplemented!()
@@ -120,7 +120,7 @@ LL | | }
120120 = help: consider implementing the trait `std::ops::Rem` or choosing a less ambiguous method name
121121
122122error: method `shl` can be confused for the standard trait method `std::ops::Shl::shl`
123- --> $DIR/method_list_2.rs:73 :5
123+ --> $DIR/method_list_2.rs:74 :5
124124 |
125125LL | / pub fn shl(self, rhs: Self) -> Self {
126126LL | | unimplemented!()
@@ -130,7 +130,7 @@ LL | | }
130130 = help: consider implementing the trait `std::ops::Shl` or choosing a less ambiguous method name
131131
132132error: method `shr` can be confused for the standard trait method `std::ops::Shr::shr`
133- --> $DIR/method_list_2.rs:77 :5
133+ --> $DIR/method_list_2.rs:78 :5
134134 |
135135LL | / pub fn shr(self, rhs: Self) -> Self {
136136LL | | unimplemented!()
@@ -140,7 +140,7 @@ LL | | }
140140 = help: consider implementing the trait `std::ops::Shr` or choosing a less ambiguous method name
141141
142142error: method `sub` can be confused for the standard trait method `std::ops::Sub::sub`
143- --> $DIR/method_list_2.rs:81 :5
143+ --> $DIR/method_list_2.rs:82 :5
144144 |
145145LL | / pub fn sub(self, rhs: Self) -> Self {
146146LL | | unimplemented!()
0 commit comments