mozilla/rust — Issue #1848: Error diagnostics are often printing the wrong line lately
Author: marijnh
Created: 2012-02-15 08:52:03+00:00
State: open

```
iface foo { fn foo(); }

iface bar { fn bar() { 1; } }

fn main() {}
```

This broken program produces this broken error. It reports line 3:21 correctly, but then prints line 1 above it.

```
foo.rs:3:21: 3:22 error: expecting ';' but found '{'
foo.rs:3 iface foo { fn foo(); }
^
```