about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-10-26 17:44:37 +0000
committerbors <bors@rust-lang.org>2015-10-26 17:44:37 +0000
commit278cc2f15766402d26b4173d636f765018b68878 (patch)
tree1e99a5b48666217b21ad018035d0cc30904c04bb /src/libstd/sys/unix/stack_overflow.rs
parentc5d650cf74e76561b97dcbf7e4836f19bf1c1e6e (diff)
parent1a235274a1aec01d8bf7f30e1631fba62e2ca411 (diff)
downloadrust-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