rust-lang/rust — pull request #19267 by oli-obk (2014-11-24 12:41:42+00:00)
Title: librustc: hint close matches on accessing nonexisting fields

```rust
struct A {
foo : int,
car : int,
barr : int
}
fn main() {
let a = A { foo : 5, car : 9, bar : 42};
}
```

now shows

```rust
main.rs:7:39: 7:42 error: structure `A` has no field named `bar`
main.rs:7 let a = A { foo : 5, car : 9, bar : 42};
^~~
main.rs:7:39: 7:42 help: did you mean `car`?
main.rs:7 let a = A { foo : 5, car : 9, bar : 42};
^~~
main.rs:7:39: 7:42 help: did you mean `barr`?
main.rs:7 let a = A { foo : 5, car : 9, bar : 42};
^~~
```

same help message for accessing fields.