We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b58369 commit e86e8c1Copy full SHA for e86e8c1
src/rustc/middle/typeck/check/method.rs
@@ -527,12 +527,12 @@ impl LookupContext {
527
* Attempts both auto-slice and auto-ptr, as appropriate.
528
*/
529
530
- match self.search_for_autoptrd_method(self_ty, autoderefs) {
+ match self.search_for_autosliced_method(self_ty, autoderefs) {
531
Some(move mme) => { return Some(move mme); }
532
None => {}
533
}
534
535
- match self.search_for_autosliced_method(self_ty, autoderefs) {
+ match self.search_for_autoptrd_method(self_ty, autoderefs) {
536
537
538
0 commit comments