]> git.lizzy.rs Git - rust.git/commitdiff
Add fall-through case for non-iface bounds typeck::lookup_method
authorMarijn Haverbeke <marijnh@gmail.com>
Sun, 8 Jan 2012 20:59:37 +0000 (21:59 +0100)
committerMarijn Haverbeke <marijnh@gmail.com>
Sun, 8 Jan 2012 20:59:37 +0000 (21:59 +0100)
Closes #1462

src/comp/middle/typeck.rs

index 792867a646e3395f2a773188fb00438b2fabbb98..075c0dbe2a8977eac275ca552dda790790f50db0 100644 (file)
@@ -1569,6 +1569,7 @@ fn lookup_method(fcx: @fn_ctxt, isc: resolve::iscopes,
                 }
                 bound_n += 1u;
               }
+              _ {}
             }
         }
         ret none;