Files
rust/src/libsyntax
Kevin Butler 64da379c8c libsyntax: better error for lifetimes in patterns
Previously, if you copied a signature from a trait definition such as:

```
fn foo<'a>(&'a Bar) -> bool {}
```

and moved it into an `impl`, there would be an error message:

"unexpected token `'a`"

Adding to the error message that a pattern is expected should help
users to find the actual problem with using a lifetime here.
2015-10-25 01:28:00 +01:00
..
2015-10-13 06:01:31 +03:00
2015-10-13 15:19:27 +03:00
2015-10-13 06:01:31 +03:00
2015-10-13 15:19:27 +03:00
2015-10-13 15:19:27 +03:00
2015-01-30 08:52:44 -08:00
2015-10-16 17:17:14 +03:00