mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-11 22:43:42 +00:00
Revert "change relative priority of auto-slice and auto-ptr"
This reverts commit 2ac64d91ac
.
This commit is contained in:
parent
9b58369f6b
commit
e86e8c16e6
@ -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…
Reference in New Issue
Block a user