Revert "change relative priority of auto-slice and auto-ptr"
This reverts commit 2ac64d91ac
.
This commit is contained in:
parent
9b58369f6b
commit
e86e8c16e6
1 changed files with 2 additions and 2 deletions
|
@ -527,12 +527,12 @@ impl LookupContext {
|
|||
* Attempts both auto-slice and auto-ptr, as appropriate.
|
||||
*/
|
||||
|
||||
match self.search_for_autoptrd_method(self_ty, autoderefs) {
|
||||
match self.search_for_autosliced_method(self_ty, autoderefs) {
|
||||
Some(move mme) => { return Some(move mme); }
|
||||
None => {}
|
||||
}
|
||||
|
||||
match self.search_for_autosliced_method(self_ty, autoderefs) {
|
||||
match self.search_for_autoptrd_method(self_ty, autoderefs) {
|
||||
Some(move mme) => { return Some(move mme); }
|
||||
None => {}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue