diff options
| author | bors <bors@rust-lang.org> | 2015-10-26 17:44:37 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-10-26 17:44:37 +0000 |
| commit | 278cc2f15766402d26b4173d636f765018b68878 (patch) | |
| tree | 1e99a5b48666217b21ad018035d0cc30904c04bb /src/libstd/sys/unix/stack_overflow.rs | |
| parent | c5d650cf74e76561b97dcbf7e4836f19bf1c1e6e (diff) | |
| parent | 1a235274a1aec01d8bf7f30e1631fba62e2ca411 (diff) | |
| download | rust-278cc2f15766402d26b4173d636f765018b68878.tar.gz rust-278cc2f15766402d26b4173d636f765018b68878.zip | |
Auto merge of #29287 - Ryman:fn_nopat, r=alexcrichton
Previously, if you copied a signature from a trait definition such as:
```rust
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.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
