mozilla/rust — pull request #5096 by luqmana (2013-02-23 08:41:35+00:00)
Title: librustc: offer suggestions for unresolved names.

Address #2281

```
-> % cat foo.rs
fn foo() -> int {
let bar = 10;

bad
}
```

```
-> % rustc foo.rs
foo.rs:4:4: 4:7 error: unresolved name: `bad`. Did you mean: `bar`?
foo.rs:4 bad
^~~
error: aborting due to previous error
```