Commit Graph

301 Commits

Author SHA1 Message Date
David Tolnay
fb2dd4b7f4
Parse try-blocks as Expr::TryBlock 2018-08-24 18:51:50 -04:00
David Tolnay
d17b64fb18
Format with rustfmt 0.99.2 2018-08-24 16:46:10 -04:00
Yusuke Sasaki
4e5d9660e7
Async closures 2018-08-24 16:37:09 -04:00
Yusuke Sasaki
f00a3efc7d
Async functions and methods 2018-08-24 16:35:30 -04:00
David Tolnay
fe583306aa
Remove Attribute::is_sugared_doc 2018-08-24 16:09:34 -04:00
David Tolnay
0c7fed6e8a
Skip try blocks in bracket fold 2018-08-24 15:56:42 -04:00
David Tolnay
d1c31cc713
Update tests to nightly-2018-08-23 2018-08-24 15:26:17 -04:00
David Tolnay
758ee135c2
Parse existential types as verbatim 2018-08-21 21:29:40 -04:00
David Tolnay
e9ceb542d8
Bring in new test cases from 2018-08-18 2018-08-21 21:04:33 -04:00
David Tolnay
0ccb6d1786
Wrap comments when formatting with rustfmt 2018-08-14 22:43:00 -07:00
David Tolnay
c8659929be
Pick up changes to rustc data structures in nightly 2018-08-14 22:40:50 -07:00
David Tolnay
78572112cf
Parse macros_in_extern as ForeignItemVerbatim 2018-08-01 00:36:18 -07:00
David Tolnay
61e15e53b4
Hide labeled blocks from precedence test 2018-08-01 00:28:36 -07:00
David Tolnay
5d08ae619b
Parse labeled blocks as ExprVerbatim 2018-08-01 00:08:48 -07:00
David Tolnay
18a2582d48
Merge pull request #465 from ubnt-intrepid/async-verbatim
accept async functions and closures as verbatim
2018-07-31 22:02:01 -07:00
David Tolnay
57a2886ce8
Clean up confusing match-expression 2018-07-31 21:47:10 -07:00
David Tolnay
a25d1dcb9e
Format with rustfmt 0.9.0 2018-07-31 21:46:19 -07:00
David Tolnay
5d871d99cb
Configure libsyntax to 2018 edition 2018-07-31 21:43:10 -07:00
Yusuke Sasaki
0678b917b2 enable test cases for async/await 2018-08-01 05:29:12 +09:00
David Tolnay
b022d0663c
Parse unions in a DeriveInput 2018-07-21 18:59:36 -07:00
David Tolnay
72972e766f
Update equality comparison of existential types 2018-07-21 18:35:24 -07:00
David Tolnay
5d314dcd9a
Parse attributes on expressions 2018-07-21 18:16:17 -07:00
David Tolnay
73c9b52921
Parse outer attributes on literal and path expressions 2018-07-21 15:58:40 -07:00
David Tolnay
713a67279d
Parse outer attributes on closures 2018-07-21 15:49:40 -07:00
David Tolnay
5c4613a7d7
Parse inner attributes within foreign mod 2018-07-21 15:40:17 -07:00
David Tolnay
0a4d4e9f9a
Support feature(extern_in_paths) 2018-07-21 15:31:45 -07:00
David Tolnay
84434f60b6
Unreserve former keywords: pure, offsetof, sizeof, alignof 2018-07-21 15:13:59 -07:00
David Tolnay
caa2a6d605
Parse where-clause on associated types 2018-07-21 15:08:07 -07:00
David Tolnay
682c663bb6
File tickets against unsupported syntax 2018-07-21 14:59:05 -07:00
David Tolnay
d7c5d02d41
Triage the ignored test cases 2018-07-21 14:33:01 -07:00
David Tolnay
b965d8557d
Triage test case that requires extern_in_paths 2018-07-21 14:11:15 -07:00
David Tolnay
c6b5e81281
Ignore distinction between DotDotEq and DotDotDot in tests 2018-07-21 14:04:28 -07:00
David Tolnay
a27f29fc8d
Bump the test suite to rustc nightly-2018-07-19 2018-07-21 13:25:23 -07:00
David Tolnay
ecd024d452
Implement eq for libsyntax data structures 2018-07-21 13:06:31 -07:00
David Tolnay
0cec3e6f3e
Format with rustfmt 0.8.2 2018-07-21 09:08:30 -07:00
David Tolnay
f36af87bab
Parse crate::X in newtype as (crate::X) not crate(::X) 2018-06-30 23:16:08 -07:00
David Tolnay
d228b33fb1
Fix clippy lints 2018-06-28 00:00:24 -07:00
David Tolnay
05ef7ee854
Update test suite to nightly-2018-06-27 2018-06-27 23:46:38 -07:00
David Tolnay
28da13c516
Update test suite to nightly-2018-06-26 2018-06-27 00:39:21 -07:00
David Tolnay
0bb614f154
Update nightly libsyntax api for parsing an expr 2018-06-14 21:41:43 -07:00
hcpl
aa51179851 Replace TokenStream::empty with ::new
`TokenStream::empty` is deprecated since `proc-macro2` 0.4.4.
2018-05-29 07:22:54 +03:00
David Tolnay
65fb5664a8
Format with rustfmt 0.7.0 2018-05-20 20:02:28 -07:00
David Tolnay
857e7e711f
Merge pull request #426 from alexcrichton/next
Update to the next version of proc-macro2
2018-05-20 18:10:38 -07:00
David Tolnay
446f7d6da0
Eliminate to_string() in Ident comparisons 2018-05-20 18:09:51 -07:00
Alex Crichton
3fec393878
Fix up some final issues 2018-05-20 16:41:41 -07:00
Geoffry Song
ac02b1810f Don't parse a plus sign when parsing a function type's return type. 2018-05-19 22:11:31 -07:00
Alex Crichton
9dc5d0ea55 Fix test_grouping 2018-05-17 11:09:21 -07:00
Alex Crichton
eaa6e43704 Fix test_lit 2018-05-17 11:08:58 -07:00
Alex Crichton
0f1813d4e8 Fix test_token_trees 2018-05-17 11:08:03 -07:00
Alex Crichton
78e92a7d12 Fix test_meta_item 2018-05-17 11:07:06 -07:00