Commit Graph

  • f26c5a178e Add test of carriage return in strings David Tolnay 2020-09-25 22:26:19 -04:00
  • 6592f0fe69 Merge pull request #257 from dtolnay/lit David Tolnay 2020-09-25 21:56:32 -04:00
  • 096a9d757e Disallow empty unicode escape David Tolnay 2020-09-25 21:49:39 -04:00
  • 93f52feb2d Disallow leading underscore in unicode escape David Tolnay 2020-09-25 21:48:54 -04:00
  • 39320b3c6f Require char::from_u32 to succeed on unicode escape David Tolnay 2020-09-25 21:47:00 -04:00
  • ae3467ab2e Add test of unicode escape out of range David Tolnay 2020-09-25 21:46:46 -04:00
  • 0180ec9f42 Merge pull request #256 from dtolnay/lit David Tolnay 2020-09-25 21:06:38 -04:00
  • 145acc381e Allow only at most 6 digits in unicode escape David Tolnay 2020-09-25 20:55:14 -04:00
  • 11ca1e694e Add test of overlong unicode escape that should fail to lex David Tolnay 2020-09-25 20:50:52 -04:00
  • 615a4d3061 Keep out of unicode_xid when parsing ASCII-only text David Tolnay 2020-09-25 18:19:45 -04:00
  • 560a8484e2 Release 1.0.22 David Tolnay 2020-09-25 15:28:18 -04:00
  • 4a4530c1aa Merge pull request #255 from dtolnay/lit David Tolnay 2020-09-25 15:27:45 -04:00
  • 173fea03c6 Parse float suffix beginning with E David Tolnay 2020-09-25 15:24:11 -04:00
  • ffc927d46c Add failing test of E suffix on a float literal David Tolnay 2020-09-25 15:12:44 -04:00
  • 1562865439 Merge pull request #254 from dtolnay/lit David Tolnay 2020-09-25 15:24:16 -04:00
  • 8b1d93b4c8 Remove special case on f32/f64 suffix David Tolnay 2020-09-25 15:17:47 -04:00
  • b072d7b279 Merge pull request #253 from dtolnay/lit David Tolnay 2020-09-25 15:14:40 -04:00
  • 463f630fde Reject duplicate sign in float literal David Tolnay 2020-09-25 14:56:54 -04:00
  • 5c947a2c12 Add failing test on expected pares of 0E--0 David Tolnay 2020-09-25 15:08:38 -04:00
  • 697b5816b4 Merge pull request #252 from dtolnay/lit David Tolnay 2020-09-25 15:09:32 -04:00
  • 24587293ab Accept integer suffix beginning with a hex digit David Tolnay 2020-09-25 15:01:55 -04:00
  • 2e982dbcad Add test of hex digit suffix on a non-hex literal David Tolnay 2020-09-25 14:58:03 -04:00
  • 522ae93dc2 Release 1.0.21 David Tolnay 2020-09-09 12:44:34 -07:00
  • 1100371442 Merge pull request #251 from alexcrichton/marker David Tolnay 2020-09-09 12:44:05 -07:00
  • 1336ff5c3b Remove unwind-safe test on rust 1.31.0 David Tolnay 2020-09-09 12:30:22 -07:00
  • 13cbad10c0 Make proc macro types unwind safe David Tolnay 2020-09-09 11:20:10 -07:00
  • 9a9e292d08 Add unwind safety to marker traits test David Tolnay 2020-09-09 11:18:22 -07:00
  • b02cfa7194 Consolidate marker trait handling into Marker type David Tolnay 2020-09-09 10:50:54 -07:00
  • c951539013 Add ui test in subdirectory David Tolnay 2020-09-09 11:02:05 -07:00
  • f433c42238 Revert "Add ui test for the not-Send error message" David Tolnay 2020-09-09 11:51:14 -07:00
  • 6cd14ed4dc Add ui test for the not-Send error message David Tolnay 2020-09-09 11:02:05 -07:00
  • 2aa2cb5784 Sort imports below mod David Tolnay 2020-09-09 10:51:40 -07:00
  • a2dbf19fc4 Import PhantomData David Tolnay 2020-09-09 10:46:41 -07:00
  • 26d067706a Release 1.0.20 David Tolnay 2020-09-03 13:28:01 -07:00
  • 1af3b392a2 Merge pull request #247 from alexcrichton/groupfmt David Tolnay 2020-09-03 13:27:19 -07:00
  • b77f1c0091 Add Group fmt test David Tolnay 2020-09-03 09:44:30 -07:00
  • e1efeb4b1d Match libproc_macro formatting of groups David Tolnay 2020-09-03 09:38:49 -07:00
  • 1d0c29862d Merge pull request #246 from Koxiaet/master David Tolnay 2020-09-03 09:32:50 -07:00
  • 9f4ae5718e Improve fallback Display impl for TokenStream Koxiaet 2020-09-03 14:10:34 +01:00
  • 10b79cfad3 Clean up unused empty strnom file David Tolnay 2020-08-02 20:13:19 -07:00
  • f052b1dd46 Release 1.0.19 David Tolnay 2020-07-19 17:13:41 -07:00
  • 77de07c785 Merge pull request #243 from CensoredUsername/stabilize_1_45 David Tolnay 2020-07-19 17:12:31 -07:00
  • f24cd3fcd7 Remove procmacro2_semver_exempt feature gate on all methods stabilized in rustc 1.45 CensoredUsername 2020-07-20 01:53:23 +02:00
  • 46be42b043 Merge pull request #238 from dtolnay/perf David Tolnay 2020-06-17 20:25:54 -07:00
  • ccf20b781e Desugar Extend<TokenTree> to improve debug mode perf David Tolnay 2020-06-17 19:17:20 -07:00
  • 3871b0c880 Short circuit DeferredTokenStream::evaluate_now David Tolnay 2020-06-17 19:05:16 -07:00
  • 732ee78bec Replace unneeded map closures with fn David Tolnay 2020-06-17 20:02:54 -07:00
  • d88e7a0d8c Release 1.0.18 David Tolnay 2020-05-31 10:06:17 -07:00
  • 00ecfcc265 Update Ident Debug to print span locations David Tolnay 2020-05-31 00:18:24 -07:00
  • 808627e785 Suppress null spans from debug representation David Tolnay 2020-05-31 00:10:58 -07:00
  • f0f9464b7b Debug span field whenever present David Tolnay 2020-05-31 00:10:10 -07:00
  • 78add61ed2 Merge pull request #236 from dtolnay/negative David Tolnay 2020-05-31 00:03:54 -07:00
  • e0e1818e40 Add negative literal iter test David Tolnay 2020-05-31 00:00:45 -07:00
  • 721070de0d Preserve negative literal span on minus sign David Tolnay 2020-05-30 23:54:42 -07:00
  • 5c18518ca2 Restore compatibility back to 1.31 David Tolnay 2020-05-30 23:46:29 -07:00
  • c076e1d0ec Match libproc_macro behavior of negative literals David Tolnay 2020-05-30 22:56:27 -07:00
  • b3d3413df3 Remove unneeded into_iter() provided by for-loop desugaring David Tolnay 2020-05-30 23:03:31 -07:00
  • 172680598a Ignore needless_doctest_main lint David Tolnay 2020-05-30 23:02:26 -07:00
  • 1b063f20bf Suppress match_overlapping_arm lint David Tolnay 2020-05-30 23:01:56 -07:00
  • 4d9bd91d70 Resolve flat_map_identity lint David Tolnay 2020-05-30 23:01:14 -07:00
  • 557a724192 Resolve while_let_on_iterator lint David Tolnay 2020-05-30 23:00:18 -07:00
  • 4d3433c38b Resolve single_char_pattern lint David Tolnay 2020-05-30 22:58:56 -07:00
  • 6ac4c4a26d Format with rustfmt 2020-04-21 David Tolnay 2020-05-30 22:48:17 -07:00
  • 56479e6fa8 Import Debug and Display from fmt David Tolnay 2020-05-30 22:46:16 -07:00
  • 1ccead1f67 Import FromIterator David Tolnay 2020-05-30 22:43:20 -07:00
  • 93eff3e0b1 Release 1.0.17 David Tolnay 2020-05-23 14:53:03 -07:00
  • e2eda3c6ce Merge pull request #233 from dtolnay/force David Tolnay 2020-05-23 14:52:32 -07:00
  • 5a5a8296d6 Don't gate force/unforce on wrap_proc_macro David Tolnay 2020-05-23 14:46:38 -07:00
  • 93423a75ac Release 1.0.16 David Tolnay 2020-05-23 14:27:27 -07:00
  • e6f585d25e Merge pull request #230 from dtolnay/ord David Tolnay 2020-05-23 14:26:55 -07:00
  • 3e68019b41 Impl Ord for LineColumn David Tolnay 2020-05-21 18:14:51 -07:00
  • fc557978b2 Release 1.0.15 David Tolnay 2020-05-22 10:13:28 -07:00
  • 097e2a8b98 Merge pull request #232 from dtolnay/drop David Tolnay 2020-05-22 01:04:52 -07:00
  • c8ef680540 Implement Drop nonrecursively for TokenStream David Tolnay 2020-05-22 00:50:13 -07:00
  • c3fe433da5 Merge pull request #231 from dtolnay/loop David Tolnay 2020-05-22 00:31:27 -07:00
  • a9c8c5ebb8 Eliminate recursion in token stream parser David Tolnay 2020-05-21 23:53:45 -07:00
  • 7fc7bfbe32 Inline group parser into token_stream David Tolnay 2020-05-21 23:38:38 -07:00
  • 48b52995bd Move group check into token_stream parser David Tolnay 2020-05-21 23:31:19 -07:00
  • d8b22cb8b0 Inline token_tree into token_stream parser David Tolnay 2020-05-21 23:27:22 -07:00
  • 068e378899 Inline spanned into two call sites David Tolnay 2020-05-21 23:23:58 -07:00
  • 2fb0cc81ec Merge locations and non-locations spanned methods David Tolnay 2020-05-21 23:17:27 -07:00
  • 5a2118aaa0 Flatten token_stream parser a bit David Tolnay 2020-05-21 23:07:52 -07:00
  • 43bd3bf1ed Update ident parser to return Ident David Tolnay 2020-05-22 00:08:01 -07:00
  • 6b4cefaee1 Rename symbol parsers to ident David Tolnay 2020-05-22 00:06:10 -07:00
  • a69c0fd68d Simplify FromStr for TokenStream using question mark David Tolnay 2020-05-21 23:04:43 -07:00
  • c7ab4acbd3 Release 1.0.14 David Tolnay 2020-05-21 16:51:06 -07:00
  • 7b54933ce4 Consistently use i for byte offsets David Tolnay 2020-05-21 16:16:11 -07:00
  • 12abf29afd Revert some logic to before PR 229 David Tolnay 2020-05-21 16:05:41 -07:00
  • 0eddc2f3b3 Remove Cursor::char_offsets David Tolnay 2020-05-21 15:57:29 -07:00
  • c76a6d183a Unify advance_ascii and advance_chars David Tolnay 2020-05-21 15:53:59 -07:00
  • fa366e8af7 Remove unused argument of advance_chars David Tolnay 2020-05-21 15:52:57 -07:00
  • 54d7205bfd Ignore advance_chars caller's char count David Tolnay 2020-05-21 15:50:05 -07:00
  • 6244d77530 Validate chars argument of advance_chars David Tolnay 2020-05-21 15:47:29 -07:00
  • acde3525ab Reject bare carriage return in doc comment David Tolnay 2020-05-21 15:09:04 -07:00
  • 7d4118f706 Terminate line comment at \r\n David Tolnay 2020-05-21 15:21:45 -07:00
  • 78bd59a41a Add doc comment carriage return literal test David Tolnay 2020-05-21 15:25:16 -07:00
  • b9624c2bbe Match libproc_macro's parsing of block comments David Tolnay 2020-05-21 13:48:08 -07:00
  • 0385fe8fe9 Clarify Cursor::advance by renaming to advance_ascii David Tolnay 2020-05-21 13:50:46 -07:00
  • 2bcc3a41a9 Add test of carriage return in comment David Tolnay 2020-05-21 13:40:25 -07:00
  • b0c76c00b0 Test spacing of punct in doc comments David Tolnay 2020-05-21 13:35:27 -07:00