@@ -30,7 +30,7 @@ error: methods called `is_*` usually take self by reference or no self; consider
3030LL | fn is_i32(self) {}
3131 | ^^^^
3232
33- error: methods called like this: ( `to_*` and `~_mut`) usually take self by reference; consider choosing a less ambiguous name
33+ error: methods called `to_*` usually take self by reference; consider choosing a less ambiguous name
3434 --> $DIR/wrong_self_convention.rs:42:15
3535 |
3636LL | fn to_i32(self) {}
@@ -60,7 +60,7 @@ error: methods called `is_*` usually take self by reference or no self; consider
6060LL | pub fn is_i64(self) {}
6161 | ^^^^
6262
63- error: methods called like this: ( `to_*` and `~_mut`) usually take self by reference; consider choosing a less ambiguous name
63+ error: methods called `to_*` usually take self by reference; consider choosing a less ambiguous name
6464 --> $DIR/wrong_self_convention.rs:49:19
6565 |
6666LL | pub fn to_i64(self) {}
@@ -90,7 +90,7 @@ error: methods called `is_*` usually take self by reference or no self; consider
9090LL | fn is_i32(self) {}
9191 | ^^^^
9292
93- error: methods called like this: ( `to_*` and `~_mut`) usually take self by reference; consider choosing a less ambiguous name
93+ error: methods called `to_*` usually take self by reference; consider choosing a less ambiguous name
9494 --> $DIR/wrong_self_convention.rs:102:19
9595 |
9696LL | fn to_i32(self) {}
@@ -120,7 +120,7 @@ error: methods called `is_*` usually take self by reference or no self; consider
120120LL | fn is_i32(self);
121121 | ^^^^
122122
123- error: methods called like this: ( `to_*` and `~_mut`) usually take self by reference; consider choosing a less ambiguous name
123+ error: methods called `to_*` usually take self by reference; consider choosing a less ambiguous name
124124 --> $DIR/wrong_self_convention.rs:126:19
125125 |
126126LL | fn to_i32(self);
@@ -144,7 +144,7 @@ error: methods called `from_*` usually take no self; consider choosing a less am
144144LL | fn from_i32(self);
145145 | ^^^^
146146
147- error: methods called like this: ( `to_*` and `~_mut`) usually take self by reference; consider choosing a less ambiguous name
147+ error: methods called `to_*` usually take self by reference; consider choosing a less ambiguous name
148148 --> $DIR/wrong_self_convention.rs:175:24
149149 |
150150LL | pub fn to_many(&mut self) -> Option<&mut [T]> {
0 commit comments