]> git.lizzy.rs Git - rust.git/commit
auto merge of #5579 : dbaupp/rust/rustc-typo-limit, r=catamorphism
authorbors <bors@rust-lang.org>
Thu, 28 Mar 2013 06:10:19 +0000 (23:10 -0700)
committerbors <bors@rust-lang.org>
Thu, 28 Mar 2013 06:10:19 +0000 (23:10 -0700)
commitd7ba0acbf5aef70cb4afd162e0c0a1fa07813db7
tree5a870d57ba2bd716cd9a5166d0c46ec19ee386ec
parent84ddff3909b5920228642649b7f5cc011c0b900a
parentab5346d119b6ac3ba9e9d67df929fdf546865d0a
auto merge of #5579 : dbaupp/rust/rustc-typo-limit, r=catamorphism

Impose a limit so that the typo suggester only shows reasonable
suggestions (i.e. don't suggest `args` when the error is `foobar`).

A tiny bit of progress on #2281.
src/librustc/middle/resolve.rs