1 error: method `add` can be confused for the standard trait method `std::ops::Add::add`
2 --> $DIR/method_list_1.rs:25:5
4 LL | / pub fn add(self, other: T) -> T {
5 LL | | unimplemented!()
9 = note: `-D clippy::should-implement-trait` implied by `-D warnings`
10 = help: consider implementing the trait `std::ops::Add` or choosing a less ambiguous method name
12 error: method `as_mut` can be confused for the standard trait method `std::convert::AsMut::as_mut`
13 --> $DIR/method_list_1.rs:29:5
15 LL | / pub fn as_mut(&mut self) -> &mut T {
16 LL | | unimplemented!()
20 = help: consider implementing the trait `std::convert::AsMut` or choosing a less ambiguous method name
22 error: method `as_ref` can be confused for the standard trait method `std::convert::AsRef::as_ref`
23 --> $DIR/method_list_1.rs:33:5
25 LL | / pub fn as_ref(&self) -> &T {
26 LL | | unimplemented!()
30 = help: consider implementing the trait `std::convert::AsRef` or choosing a less ambiguous method name
32 error: method `bitand` can be confused for the standard trait method `std::ops::BitAnd::bitand`
33 --> $DIR/method_list_1.rs:37:5
35 LL | / pub fn bitand(self, rhs: T) -> T {
36 LL | | unimplemented!()
40 = help: consider implementing the trait `std::ops::BitAnd` or choosing a less ambiguous method name
42 error: method `bitor` can be confused for the standard trait method `std::ops::BitOr::bitor`
43 --> $DIR/method_list_1.rs:41:5
45 LL | / pub fn bitor(self, rhs: Self) -> Self {
46 LL | | unimplemented!()
50 = help: consider implementing the trait `std::ops::BitOr` or choosing a less ambiguous method name
52 error: method `bitxor` can be confused for the standard trait method `std::ops::BitXor::bitxor`
53 --> $DIR/method_list_1.rs:45:5
55 LL | / pub fn bitxor(self, rhs: Self) -> Self {
56 LL | | unimplemented!()
60 = help: consider implementing the trait `std::ops::BitXor` or choosing a less ambiguous method name
62 error: method `borrow` can be confused for the standard trait method `std::borrow::Borrow::borrow`
63 --> $DIR/method_list_1.rs:49:5
65 LL | / pub fn borrow(&self) -> &str {
66 LL | | unimplemented!()
70 = help: consider implementing the trait `std::borrow::Borrow` or choosing a less ambiguous method name
72 error: method `borrow_mut` can be confused for the standard trait method `std::borrow::BorrowMut::borrow_mut`
73 --> $DIR/method_list_1.rs:53:5
75 LL | / pub fn borrow_mut(&mut self) -> &mut str {
76 LL | | unimplemented!()
80 = help: consider implementing the trait `std::borrow::BorrowMut` or choosing a less ambiguous method name
82 error: method `clone` can be confused for the standard trait method `std::clone::Clone::clone`
83 --> $DIR/method_list_1.rs:57:5
85 LL | / pub fn clone(&self) -> Self {
86 LL | | unimplemented!()
90 = help: consider implementing the trait `std::clone::Clone` or choosing a less ambiguous method name
92 error: method `cmp` can be confused for the standard trait method `std::cmp::Ord::cmp`
93 --> $DIR/method_list_1.rs:61:5
95 LL | / pub fn cmp(&self, other: &Self) -> Self {
96 LL | | unimplemented!()
100 = help: consider implementing the trait `std::cmp::Ord` or choosing a less ambiguous method name
102 error: method `deref` can be confused for the standard trait method `std::ops::Deref::deref`
103 --> $DIR/method_list_1.rs:69:5
105 LL | / pub fn deref(&self) -> &Self {
106 LL | | unimplemented!()
110 = help: consider implementing the trait `std::ops::Deref` or choosing a less ambiguous method name
112 error: method `deref_mut` can be confused for the standard trait method `std::ops::DerefMut::deref_mut`
113 --> $DIR/method_list_1.rs:73:5
115 LL | / pub fn deref_mut(&mut self) -> &mut Self {
116 LL | | unimplemented!()
120 = help: consider implementing the trait `std::ops::DerefMut` or choosing a less ambiguous method name
122 error: method `div` can be confused for the standard trait method `std::ops::Div::div`
123 --> $DIR/method_list_1.rs:77:5
125 LL | / pub fn div(self, rhs: Self) -> Self {
126 LL | | unimplemented!()
130 = help: consider implementing the trait `std::ops::Div` or choosing a less ambiguous method name
132 error: method `drop` can be confused for the standard trait method `std::ops::Drop::drop`
133 --> $DIR/method_list_1.rs:81:5
135 LL | / pub fn drop(&mut self) {
136 LL | | unimplemented!()
140 = help: consider implementing the trait `std::ops::Drop` or choosing a less ambiguous method name
142 error: aborting due to 14 previous errors