rust/src/libsyntax
bors d1ca653b17 Auto merge of #44484 - tirr-c:issue-44332, r=petrochenkov
Parse nested closure with two consecutive parameter lists properly

This is a followup of #44332.

---

Currently, in nightly, this does not compile:

```rust
fn main() {
    let f = |_||x, y| x+y;
    println!("{}", f(())(1, 2)); // should print 3
}
```

`|_||x, y| x+y` should be parsed as `|_| (|x, y| x+y)`, but the parser didn't accept `||` between `_` and `x`. This patch fixes the problem.

r? @petrochenkov
2017-09-14 00:28:27 +00:00
..
diagnostics Make fields of Span private 2017-08-30 01:38:54 +03:00
ext Implement RFC 1925 2017-09-01 12:46:37 -05:00
parse Auto merge of #44484 - tirr-c:issue-44332, r=petrochenkov 2017-09-14 00:28:27 +00:00
print pprust: fix parenthesization of exprs 2017-09-06 10:26:51 -04:00
util pprust: increase precedence of block-like exprs 2017-09-07 10:28:31 -04:00
abi.rs add thiscall calling convention support 2017-05-24 16:40:03 -04:00
ast.rs Remove trailing white space 2017-09-05 18:46:21 -07:00
attr.rs implement improved on_unimplemented directives 2017-09-03 13:10:54 +03:00
build.rs rustc: Add some build scripts for librustc crates 2017-07-22 22:04:13 -07:00
Cargo.toml fix the easy features in libsyntax 2017-05-07 01:20:15 -07:00
codemap.rs Make fields of Span private 2017-08-30 01:38:54 +03:00
config.rs Make fields of Span private 2017-08-30 01:38:54 +03:00
diagnostic_list.rs extended information for E0557 feature has been removed 2017-08-09 01:33:50 -07:00
entry.rs Cleanup InternedString. 2016-11-21 09:00:56 +00:00
feature_gate.rs Auto merge of #44456 - eddyb:stable-drop-const, r=nikomatsakis 2017-09-13 03:04:49 +00:00
fold.rs Implement RFC 1925 2017-09-01 12:46:37 -05:00
json.rs Make fields of Span private 2017-08-30 01:38:54 +03:00
lib.rs *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
ptr.rs Replace some matches with try. 2017-06-07 12:15:39 +09:00
show_span.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
std_inject.rs Make fields of Span private 2017-08-30 01:38:54 +03:00
str.rs syntax: Copy unstable str::char_at into libsyntax 2015-04-21 10:23:53 -07:00
test.rs Make fields of Span private 2017-08-30 01:38:54 +03:00
test_snippet.rs Make fields of Span private 2017-08-30 01:38:54 +03:00
tokenstream.rs Make fields of Span private 2017-08-30 01:38:54 +03:00
visit.rs Remove support for gen arg 2017-07-28 15:46:26 +02:00