-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broadcast group with non-broadcast items generates ill-typed AIR #1355
Comments
utaal
pushed a commit
that referenced
this issue
Jan 31, 2025
e0e40cfe1 Resolve unnecessary_semicolon pedantic clippy lint 6ebd966cf Resolve sliced_string_as_bytes clippy lint a09b650a5 More precise gitignore patterns 42601b92e Resolve needless_continue pedantic clippy lint dc1c0123f Update test suite to nightly-2025-01-10 d1cbce8ef Release 2.0.96 80d8d12bb Merge pull request #1840 from dtolnay/letchain 96175bea8 Integrate Expr::Let into precedence fixups 1f096d3fb Merge pull request #1839 from dtolnay/chainedcompare 49443622b Fix parenthesization of chained comparisons containing bailout fd198d9b0 Generalize Expr::Range bailout to any operator that can begin expr d3f287924 Add regression test for chained comparisons with bailout 9872bef59 Merge pull request #1838 from dtolnay/prevoperator 00a125eee Short-circuit precedence scan for high-precedence expressions 83195c05e Merge pull request #1837 from dtolnay/rangebailout aaca8b8d1 Choose range bailouts based on precedence cd3fa5a9e Merge pull request #1836 from dtolnay/castleft 24ca4ddee Disambiguate Expr::Cast precedence in scan_left e4dfadcaa Merge pull request #1834 from dtolnay/rightofassign ea9f750b3 Right side of assignment can never require synthetic paren 533caa226 Updated colored dependency to v3 c7b763890 Release 2.0.95 a8096895a Merge pull request #1832 from dtolnay/cond 3f8bac676 Rewrite condition printing to parenthesize leafs instead of whole cond 52699de1b Print syntax trees in test_fixup failure 5c935d2fc Reuse print_subexpression outside of expr.rs 505ab0091 Fix trailing comma not inserted by rustfmt 417ff92f3 Release 2.0.94 b2fa21097 Add test of deeply nested prefix ranges bd02f07e3 Test larger expr depth 8b162d4ea Merge pull request #1830 from dtolnay/scan 215b57df9 Implement a parser simulator to determine true precedence levels 6187a08ec Merge pull request #1829 from dtolnay/ifbreakbreak 4d1f6c01d Fix classification of nested breaks/ranges inside condition 977a524bc Add test of second-level break confusable 9dd90b781 Merge pull request #1828 from dtolnay/prevnextoperator 7e8a56a7e Track previous and next operator's precedence in fixup context 0919c99aa Merge pull request #1827 from dtolnay/subexprhelper eb9d807b6 Move precedence computation exclusively into subexpression helpers 4b1cf00ff Delete test_leftmost_rightmost_invariant 98a39cc23 Merge pull request #1826 from dtolnay/leftmosthelper 19d93ba85 Merge leftmost_subexpression_with_operator and leftmost_subexpression into one method 15220b953 Merge pull request #1825 from dtolnay/closurefixup c7403e534 Preserve FixupContext when printing closure body without brace 668d52e80 Reorganize lower value precedence tests 8bbe8e5e0 Include syntax tree in test failure df02b0f94 Add count of number of test_permutations failures 3252a55d6 Merge pull request #1823 from dtolnay/noparsing 5392a0ec5 Speed up test_permutations by bypassing parsing 743f055a6 Merge pull request #1822 from dtolnay/permutationexprs 6226fed91 Comment the expressions being constructed in test_permutations e52839c2e Merge pull request #1821 from dtolnay/testcallsite 5b8bb10f6 Factor out test_permutations's single call site span f0329a566 Update test suite to nightly-2025-01-01 8eb240761 Merge pull request #1820 from dtolnay/rangeprecedence f7b0d7260 Disallow binop with a range lhs f3d8f8d9b Add test of range precedence with binop 223540ca4 Fix unambiguous RangeFull parenthesization cd75e1079 Allow binops to terminate a range endpoint d2794d0f6 Merge pull request #1819 from dtolnay/rangesbailout a08dedf76 Fix ranges bailout edge cases with assignment 9ea6782e1 Merge pull request #1818 from dtolnay/rangequestion 6b88946a9 Add tests of bailout involving ranges and dots, and fix for question ed4d14426 Reduce redundant testing of grammatically similar assignment binops 5242a9837 Merge pull request #1817 from dtolnay/testredundantparen 2533d4573 Check for redundant parens in permutations test 245bcb599 Merge pull request #1816 from dtolnay/confusable 6526b6448 Simplify confusable_with_adjacent_block ce081e889 Merge pull request #1815 from dtolnay/macrange f5db50ab2 Fix incorrect parse of statement macro followed by range f25ddf580 Merge pull request #1814 from dtolnay/confusableclosure 9aa541145 Tweak block confusable logic for structs inside closures 2d5c78b93 Merge pull request #1813 from dtolnay/confusableleftmost b11d4b9a6 Tweak block confusable logic for break value starting with block b5e97924d Merge pull request #1812 from dtolnay/confusableblock d954d2d2e Tweak block confusable logic for labeled blocks 1a858483a Merge pull request #1811 from dtolnay/confusablejump c811b33d4 Tweak block confusable logic inside of jumps ee76c9ee7 Add assertion in test_permutations that parsed expr is correct a83b1586c Normalize Stmt::Expr(Expr::Macro) to Stmt::Macro cf9d79657 Move shebang normalization into AsIfPrinted visitor 3cfb0e789 Extract common visitors used by tests 8d1ca56f9 Ignore unreadable_literal pedantic clippy lint in test f10c2eab3 Reduce number of effectively equivalent generated closure expressions e749a2031 Count total number of generated expressions in permutations test 3f2acdc5e Release 2.0.93 2ecf36aa1 Merge pull request #1810 from dtolnay/confusable 6240d9cbe Recursive implementation of confusable_with_adjacent_block 39c8d4e6c Merge pull request #1809 from dtolnay/permutations c770215c8 Add exhaustive expressions parsing test 672aca98a Exclude slow expressions test from miri 52d1ebbcc Merge pull request #1808 from dtolnay/ifbreak 7fbb4aeb2 Fix `if break x {}` 6baa7934b Merge pull request #1807 from dtolnay/rangearrow 23f8f3b07 Fix `match x { _ if .. => {} }` 85133ea95 Merge pull request #1806 from dtolnay/closurebodyblock 6f57d6314 Fix `|| -> T 'a {}` 609682365 Merge pull request #1805 from dtolnay/breakcast 96f4f9118 Fix `break as T` fa8e3ca10 Merge pull request #1804 from dtolnay/pathshlassign 8152751f2 Fix `x as T <<= y` c494b9a2c Release 2.0.92 21ec874bd Rename leftmost_subexpression_with_begin_operator 3a8d163c3 Merge pull request #1801 from dtolnay/fixupinvariant 90c730d82 Add exhaustive test of FixupContext leading/trailing invariant 4947eb498 Merge pull request #1800 from dtolnay/rightmost eb0eb0c97 Rename subsequent_subexpression -> rightmost_subexpression cf75a9913 Merge pull request #1799 from dtolnay/precedence 331b4d0fe Simplify distinction between leading and trailing precedence 560dd9d64 Merge pull request #1798 from dtolnay/jumpinrange 55462c8df Fix parenthesization of jumps in ranges 284ea6531 Add regression test for jump in lhs of range 53de98506 Release 2.0.91 18fc8d138 Merge pull request #1797 from dtolnay/parsequotespecial 762ba9784 Document more parse_quote special cases 1c739cb82 Merge pull request #1796 from dtolnay/vecarm d2bc3a3ec Allow Vec<Arm> in parse_quote 384516b05 Update test suite to nightly-2024-12-19 6adf9e50d Update test suite to nightly-2024-12-17 1810278d0 Merge pull request #1794 from dtolnay/up 5d3378312 Update open syntax issues 4398b608a Categorize newly failing rust repo source files 2e69ff066 Update test suite rustc commit to nightly-2024-12-15 46fb73c9f Update test suite to nightly-2024-12-15 08ffaf646 Update test suite to nightly-2024-12-11 3fa17c9d5 Fix signature in rustc_errors Emitter impl 0b9c7e91f Update test suite to nightly-2024-12-10 91ffc5c4c Update test suite to nightly-2024-12-04 7f12e3231 Use mut_visit's visit_clobber helper in FullyParenthesize ac5b41c85 Release 2.0.90 9037abbef Merge pull request #1787 from dtolnay/unparenthesizetest 1a549c077 Improve test_unparenthesize to catch more false negatives f9aa20671 Merge pull request #1786 from dtolnay/fieldcall 1445ccf58 Do not parenthesize unnamed tuple struct fields in call 48d010155 Fix parenthesization of field expressions in function calls 0e5c56865 Add test of parentheses needed in call of field 1cf735ef9 Merge pull request #1785 from dtolnay/attrprecedence 204c1556e Lower precedence of expressions containing outer attrs 401399fbb Add test of attr precedence inside subexpression ee6cd5da1 Add WASI preview2 job in CI b245e2ad8 Use new name of WASI preview1 target 64fce43f3 Update test suite to nightly-2024-11-27 935eefe67 Update test suite to nightly-2024-11-26 06af36b97 Release 2.0.89 42b474725 Fix "compiler/fallback mismatch 949" panic 424e48490 Release 2.0.88 2375d9ac0 Pull in proc-macro2 FromStr's more robust error recovery f46a6f322 Update test suite to nightly-2024-11-18 fc133ebb0 Resolve unnecessary_map_or clippy lint 0ccac34ff Resolve question_mark clippy lint 5c1c057bf Disable toml "display" feature 5bbe46a8c Prevent upload-artifact step from causing CI failure 2b45e9331 Raise minimum version for syn-codegen crate to Rust 1.65 a777cff00 Release 2.0.87 1f103d4c1 Merge pull request #1779 from dtolnay/scan 0986a66e1 Ignore enum_glob_use pedantic clippy lint ca97c7d82 Translate expr scanner to table driven 8039cb37a Test that every expr can be scanned 0132c447f Make scan_expr compilable from integration test 7c102c3c8 Extract non-full expr scanner to module ceaf4d693 Merge pull request #1778 from dtolnay/exprpeek a890e9da2 Expose can_begin_expr as Expr::peek 12f068ce0 Merge pull request #1777 from dtolnay/anygroup 31d93e1bd Make Cursor::any_group public 648fca940 Update test suite to nightly-2024-11-02 c949ba1a4 Reorder Cursor methods to put simpler signatures first 43eaf3224 Merge pull request #1776 from dtolnay/discraw ce9f4b578 Parse raw addr syntax in discriminants 12b0d1d8f Release 2.0.86 502685129 Merge pull request #1689 from dtolnay/end ab43277a5 Support peeking End 58762c49b Merge pull request #1775 from dtolnay/pqattr 7436bb23d Allow `parse_quote!` to produce Vec<Attribute> 293d7c9f5 Release 2.0.85 c94df74b4 Merge pull request #1773 from dtolnay/unsafestatic 8d7814a89 Preserve extern static unsafety in ForeignItem::Verbatim 2e159bc35 Release 2.0.84 058e7d0da Merge pull request #1772 from dtolnay/selfcapture 2a9e9fbd2 Parse self captures: `impl Sized + use<Self>` e478e03f8 Merge pull request #1771 from dtolnay/up 19baaa61e Categorize newly failing rust repo source files f89eca230 Update test suite to nightly-2024-10-23 83e3b08a1 Merge pull request #1768 from dtolnay/safe 9ab57e18d Parse safe and explicitly unsafe extern items dfc937235 Release 2.0.83 c2386c6fe Merge pull request #1767 from dtolnay/shrinkgrow b5cf3b125 Consolidate styles by token type length 3eff94032 Merge pull request #1766 from dtolnay/underscore dff98d45e Fix Token![_] spacing in docs 837ec1371 Merge pull request #1765 from dtolnay/doctoken 2e47ae3b9 Render token type names using Token! macro in documentation bd28fa889 Merge pull request #1764 from dtolnay/tokenkeyword f6622f186 Reduce use of custom_keyword for parsing builtin expr 76092cf23 Release 2.0.82 937dbcb95 Merge pull request #1762 from dtolnay/vecattr 386ae9da2 Add Fold and VisitMut methods for Vec<Attribute> 4c7f82e6f Merge pull request #1759 from dtolnay/unsafeattr a45af00fd Parse unsafe attributes e011ba794 Merge pull request #1758 from dtolnay/precisecapture c25900d5f Implement Parse for CapturedParam fc22fcea0 Merge pull request #1757 from dtolnay/precisecapture 3a45d69b8 Implement Parse for PreciseCapture c9bdfacf9 Tweak parsing logic for TypeParamBound fcdba5073 Release 2.0.81 9005d8495 Duplicate unparsed input paragraph from parse2 to parse and parse_str ca1d464fe Re-word documentation about fully parsed input d54f8c040 Delete misleading syn::parse example 2525a1040 Merge pull request #1754 from dtolnay/precisecapture 9e125ce46 Reorder precise captured params to print lifetimes before idents b3872490b Merge pull request #1753 from dtolnay/precisecapture 94d7d5eff Add TypeParamBound::PreciseCapture 53662cf06 Merge pull request #1752 from dtolnay/mixed dd44a2606 Generalize codegen support for mixed "derive"/"full" enums 9ddac65b0 Release 2.0.80 da478ac46 Merge pull request #1748 from dtolnay/impluse 81f089967 Reject trait bound containing only precise capture 6afa1909f Merge pull request #1747 from dtolnay/restrictedtpbound ff3325cc6 Reject precise captures and ~const in inappropriate syntax positions e565d5fb8 Merge pull request #1743 from dtolnay/rawaddr f5c9fd326 Add Expr::RawAddr 38ebbec7d Add PointerMutability abaf55933 Add Token![raw] 4a2dab7a1 Update test suite to nightly-2024-10-16 339a8bc39 Update test suite to nightly-2024-10-12 e45f0290f Update benches to nightly-2024-10-08 690aaa706 Update test suite to nightly-2024-10-08 b816b43f7 Merge pull request #1744 from dtolnay/insta 96ca0adb0 Update insta inline snapshot delimiters 9f4279fa8 Resolve some needless_lifetimes clippy lints 53df889e9 Ignore ref_option pedantic clippy lint 6d172291b Ignore needless_lifetimes clippy lint 732e6e394 Release 2.0.79 af6339642 Merge pull request #1742 from dtolnay/usecrateroot 31e863233 Fix construction of UseGroup containing crate roots 037861ac3 Merge pull request #1741 from dtolnay/binoploop 8df4dd0fa Force cursor to advance in parse_expr calls 09d020f5a Release 2.0.78 7eaebfbb4 Merge pull request #1739 from dtolnay/chainedcomparison b3d2886fc Fix infinite loop on chained comparison 3f3d0c57a Add regression test for issue 1738 346efaec5 Touch up PR 1737 69fadffc7 Merge pull request 1737 from nyurik/doc-fix a82867c2b Minor doc improvement ff45b6a8b Update test suite to nightly-2024-09-11 6232266b0 Release 2.0.77 97acbf0ff Merge pull request #1727 from dtolnay/exprparen a3b5a5c10 Support parsing Expr::Tuple in derive 3c24f576d Run upload-artifact action regardless of previous step failure 78608a3eb Upload CI Cargo.lock for reproducing failures ef3e9c6dd Release 2.0.76 8f7365ff9 Merge pull request #1725 from dtolnay/tailcall 6cddd9ea7 Make tail call expr mandatory d1746fe29 Release 2.0.75 b6936825a Merge pull request #1722 from dtolnay/exprpath e459ee75b Insert turbofish into paths in expression position 3bb65aaae Add mod-style printing for paths that cannot contain generic args ae8c84ab7 Handwrite ToTokens impl for Meta 5dbfeae02 Name the expr_style argument at all call sites of path::parsing::qpath b15ae2840 Release 2.0.74 6cf234444 Merge pull request #1719 from dtolnay/iterators 2955ac55b Expose non-impl-Trait iterator return types 7dc05a564 Add regression test for issue 1718 857942e41 Revert "Define Fields::members iterator type privately inside method" 65ec30d65 Revert "Embed Generics iterator implementations into method bodies" b5a5a8c17 Release 2.0.73 8cdb5c734 Add example of using Fields::members iterator 2afdc1267 Remove redundancy of Generics::split_for_impl cfg with type's cfg 64b0dc8d0 Combine Generics impl blocks into one a48273415 Embed Generics iterator implementations into method bodies 0e33aa78d Make Generics method documentation less redundant with signatures e5e992703 Change Generics iterator methods to return RPIT ac9e1dd43 Touch up PR 1716 9d00ef577 Increment members counter regardless of whether field is unnamed 2b8035276 Handwrite iterator Clone impl in FIelds::members ecc7ae84d Align iterator type name with method name in Fields::members c66df4521 Combine Fields impl blocks into one 6df0c8ab5 Delete needless cfg from Fields::members e8a9292cb Define Fields::members iterator type privately inside method 321839c38 Give Fields::members an impl-Trait return type d94d5b075 Rename Fields::iter_member to members() 8b68c0696 Merge pull request #1716 from Fancyflame/master fec821f07 fix `Fields::iter_member` doesn't compile 5e3c70d44 Add `Fields::iter_member` 94d74d52c Update test suite to nightly-2024-07-26 4f3061382 Update test suite to nightly-2024-07-25 a397d0b4f Merge pull request #1714 from dtolnay/become 07f4b3791 Parse explicit tail calls 4132a0ca1 Merge pull request #1713 from dtolnay/expectedend 71930e9f9 Include expected close delimiter in unexpected token message 698eb9f47 Merge pull request #1712 from dtolnay/unnamedvariadic bed760496 Parse unnamed variadic args inside function pointer types 431784b90 Update make_parens_invisible test to work around parenthesized call c59828ff6 Release 2.0.72 582137125 Merge pull request #1709 from dtolnay/up 87401bf9b Add issue links for missing syntax support a3f2f5050 Categorize newly failing rust repo source files 378f4e2be Update test suite to nightly-2024-07-21 788f8cb9e Improve errors on unexpected token in precise capture bound 11b2371a6 Merge pull request #1707 from compiler-errors/precise-capturing bed32d23c Parse use<> precise capturing as Verbatim f34dc7bb5 Release 2.0.71 896d58bdb Merge pull request #1706 from lemunozm/patch-1 dd7e269f5 Remove mut from Puntuated::get() 5c67e2689 Release 2.0.70 935c1e181 Configure out more full-only expression kinds in print_expr e664375b4 Merge pull request #1704 from dtolnay/fixup f1daf234e Enable expression fixups in 'derive' mode 678dbc2e5 Update test suite to nightly-2024-07-08 628e2f700 Ignore needless_update clippy lint c3e378cdd Merge pull request #1703 from dtolnay/cast d47e53291 Rearrange logic of FixupContext precedence methods 9809f716e Incorporate parenthesization of casts into FixupContext ff022f529 Merge pull request #1702 from dtolnay/preclet 1f9e08238 Create a new precedence level for Expr::Let 295933899 Merge pull request #1701 from dtolnay/testparen 5acf65da7 Test parenthesis insertion against rustc repo d0f0e27ba Move rayon_init and abort_after into repo module 72766620f Merge pull request #1700 from dtolnay/leadinglet f6cd75fb1 Parenthesize leading Expr::Let in statement 21b92f2d9 Merge pull request #1699 from dtolnay/chainedcompare bd5d7984a Parenthesize chained comparison on both sides 63452ac09 Merge pull request #1698 from dtolnay/rangeassign 185d98814 Parenthesize ranges on left-hand side of assignment operator a6fdf8b34 Switch to AtomicUsize::into_inner for reading final state of counters 12bdc7886 Merge pull request #1697 from dtolnay/precjump e1c03c9fe Improve name of precedence variant for jumps 727a71973 Merge pull request #1696 from dtolnay/precmin 9b76de720 Add associated const for the lowest precedence level 9ab3fba68 Merge pull request #1695 from dtolnay/jumps ffaca82d0 Improve precision of jump parentheses when next token cannot begin expr a89a1b69e Add new fixup tests for continuation of a jump expr 068719491 Merge pull request #1694 from dtolnay/jumps 30abbd3f6 Parenthesize closures and jumps which are not rightmost subexpressions 9cd47ea9f Add fixup test with closure that is not a rightmost subexpression d4a0ff556 Release 2.0.69 0f7213407 Improve precedence variant name of sum and product operators 06f34fce1 Merge pull request #1693 from dtolnay/get a4438571c Add Punctuated::get and get_mut f0dfdbd9a Update test suite to nightly-2024-07-05 1560f9a2a Merge pull request #1692 from dtolnay/break 4e71c1caa Parenthesize labeled loops inside break value 93931a4f2 Add fixup test for break with leading label cc5e64e41 Update test suite to nightly-2024-06-29 2bbf612a9 Merge pull request #1691 from dtolnay/postfix c29fb6a3b Eliminate Postfix precedence level ecb042929 Release 2.0.68 37edbd239 Merge pull request #1690 from stepancheg/track-called 43387720a track-caller in parse_quote_spanned 537b0c58f Update test suite to nightly-2024-06-22 b088d5c22 Merge pull request #1688 from dtolnay/peeklit 9b4e478a9 Relocate Lit peek impls into lit module 38f2ddb76 Merge pull request #1687 from dtolnay/fastpeek ef20bfdfb Optimize the peek impl of Group and Lifetime 4b6c96a64 Merge pull request #1686 from dtolnay/isempty 87d579205 Reword explanation of ParseBuffer::is_empty 33659c872 Merge pull request #1685 from dtolnay/rustup bbb63d64c Raise required compiler to rust 1.61 25f6299c9 Release 2.0.67 666e15e95 Revert "List peekable token types in documentation of Peek trait" 2955706a7 Merge pull request #1683 from dtolnay/peekimpl 0c9029198 List peekable token types in documentation of Peek trait 26ce3d913 Merge pull request #1682 from dtolnay/peekcstr ec0c84b28 Make LitCStr peekable 8cb56cc59 Update test suite to nightly-2024-06-20 7cc7eac26 Inline lookahead::is_delimiter into delimiter Token impls 8a2a86bce Merge pull request #1681 from dtolnay/offset e86538ccd Optimize reverse iteration of TokenBuffer 47b6aa0f0 Merge pull request #1680 from dtolnay/endspan 4e178ee9c Improve span returned by Cursor::span at end of a Group's contents 406f7aacd Merge pull request #1679 from dtolnay/delim 082435349 Use span from the correct Group token when parsing delimited content 1be870bd7 Resolve match_same_arms pedantic clippy lint in test f3e23aef7 Update test suite to nightly-2024-06-19 b9314ca35 Add rustc_ast MetaItem nodes to test 2a73feaf6 Update test suite to nightly-2024-06-08 e0a502d24 Use same choice of edition in benchmarks as in tests cd2fdc041 Parse rust repo using 2021 edition in benchmark 06fe81821 Update test suite to nightly-2024-06-07 cc7c06ba2 Update benchmark to nightly-2024-06-06 b1e9aba7d Update test suite to nightly-2024-06-06 bcba97395 Fill in test ignore reasons a0967ad27 Make size tests ignored on 32-bit, not compiled out e3d2a3843 Merge pull request #1674 from dtolnay/miridevdep 18cb85d58 Prune dev-dependencies when testing with miri 1a3800ad5 Merge pull request #1673 from dtolnay/rustfmtskip 18fbe925d Do not format gen module because of rustfmt bug f7b2e9daa Update test suite to nightly-2024-06-01 b992916bd Release 2.0.66 4f0a23f7e Merge pull request #1671 from dtolnay/exprlet c6d87a7aa Allow braced structs when parsing ExprLet 747f42f23 Update with proc-macro2 1.0.83's syntax tree sizes 9f2371eef Release 2.0.65 4cd181325 Merge pull request #1668 from dtolnay/foldhelper ed54092bc Eliminate gen::helper module eacc8ab1b Eliminate FoldHelper trait 6e20bb8d7 Merge pull request #1667 from dtolnay/punctuatedfold 9d95cab6d Optimize punctuated::fold 82ffe86c2 Move Punctuated fold helper to punctuated module 3dfacc153 Ignore manual_map clippy lint 7273aa77a Merge pull request #1666 from dtolnay/foldhelper 8124c0eb9 Generate fewer monomorphizations in Fold b2ee93237 Make FoldHelper friendlier to debug mode 1a207989d Rename Punctuated's punctuation type parameter to P 71ce3dfaf Merge pull request #1664 from dtolnay/docsrs f2588dcf1 Rely on docs.rs to define --cfg=docsrs by default a5098dfa4 Update test suite to nightly-2024-05-19 68d345645 No need for runtime borrow checking in Lookahead1::error c7d62474d Merge pull request #1663 from dtolnay/nofixup 9fdc16321 Replace FixupContext Default impl with associated const d9f0c81b5 Move FixupContext's Copy and Clone impls to handwritten 1e0214498 Drop unused Debug impl from FixupContext 98a62cbee Release 2.0.64 1f8eddbf4 Merge pull request #1662 from dtolnay/guardstruct 0a3d3bd83 Fix parsing of struct literal in match guard expression f46419317 Merge pull request #1659 from dtolnay/needspar afa1c7259 Add more auto-parenthesization tests 532d3a37c Insert necessary parentheses in ToTokens for Expr 1b6a45079 Add test of parenthesis insertion by Expr's ToTokens 83ea28918 Merge pull request #1658 from dtolnay/closurebrace 206d897ed Create braces around closure body during printing if needed 9b60027c1 Ignore struct_excessive_bools pedantic clippy lint 2bc0bf995 Comment the Precedence variants 5acab0f02 Merge pull request #1657 from dtolnay/terminator 22a473add Differentiate statement boundary rules for stmt vs match arm 9cb0f9832 Rename Precedence::of to of_binop 092f0b343 Nest private functions of expr_trailing_brace ab4767d6f Organize identical cases of expr_trailing_brace 9ad756c1a Defer two tests with complicated parenthesization of closures and ranges 8454aa4f3 Catch panics in round-trip tests da2ea6b63 Factor out failure processing in round-trip test a60446a9b Update test suite to nightly-2024-05-16 e7a4d7f7a Merge pull request #1656 from dtolnay/breakreturn a77992d04 Parse struct expressions eagerly within break and return c6448089c Add braces around let-else's else expression if needed 9597ebc5d Merge pull request #1655 from dtolnay/constparam dde4a0f6a Apply const argument legalization to default value of ConstParam 125d3a0cc Relocate print_const_argument to generics::printing module 1d218f96a Merge pull request #1654 from dtolnay/assocconst e82bbb5c2 Add legalization for expressions inside AssocConst cc4bb3284 Extract function for printing const value in generic argument 816a33338 Remove 7 year old FIXME on parse_file dd3b93dcf Merge pull request #1651 from dtolnay/astenum 2d4117eed Replace use of ast enum From impls in test suite 7ab886f52 Move generate_to_tokens into ast_enum_of_structs d7e014399 Preserve parens from ast_enum_of_structs in generate_to_tokens eb95a16bb Remove unused path support from ast_enum_of_structs macro cea7a1e03 Update test suite to nightly-2024-05-15 4edbb8dad Remove build.rs note about non-public rustc-cfg strings a317be136 Merge pull request #1650 from dtolnay/precedence 4c412bfd1 Extract Precedence to its own module 45565276d Merge pull request #1649 from dtolnay/letelse ebcad93c1 Wrap let-else expression in paren if needed c5fe61af0 Merge pull request #1648 from dtolnay/letelse ceeb59da9 Enforce that let-else's expression does not end in brace b2a7ac871 Merge pull request #1647 from dtolnay/classify 4843c0513 Create a module for expr classification functions 55205b6d4 Merge pull request #1646 from dtolnay/unwindsafe 4a1e57f13 Make ParseBuffer unwindsafe d29bf8e51 Add test of ParseStream in catch_unwind 8bcd277e4 Release 2.0.63 6d1113df3 Merge pull request #1645 from dtolnay/ifelse 40950ddb2 Remove recursion from printing of Expr::If e2e7f2dd2 Merge pull request #1644 from dtolnay/ifelse 70777ceec Remove recursion from parsing of Expr::If e9e6329cf Release 2.0.62 c79cea177 Merge pull request #1643 from dtolnay/chainedcompare dc4ffde94 Require parens for chained comparison binops c463a74f7 Add tests of binop associativity da509d51e Add test of assignment and range precedence b1a12f4ec Merge pull request #1642 from dtolnay/rangeprecedence a79428844 Disallow range with upper bound in lhs of binop 46bc5aa10 Add range precedence tests b15c62318 Centralize binop rhs boxing 232dbd7fe Merge pull request #1641 from dtolnay/rangerhs a5160b36c Factor out range right-hand-side parsing 3ebe8beba Merge pull request #1640 from dtolnay/binoprhs dfed80410 Factor out binop right-hand-side parsing 05665c959 Merge pull request #1639 from dtolnay/parseexpr 28750d6a0 Adjust loop structure of parse_expr 7acbcc208 Reduce Precedence's visibility to expr module 9e8550553 Move Precedence's trait impls next to enum 4b052ad46 Update test suite to nightly-2024-05-10 5c69cecff Merge pull request #1637 from dtolnay/placeholder b9a406797 Add Expr::PLACEHOLDER, an unspecified invalid expression f292f3cba Merge pull request #1636 from dtolnay/implexpr ce769433a Consolidate into a single `impl Expr` block 3e52a8cf8 Update test suite to nightly-2024-05-09 e2abd39d3 Release 2.0.61 884ac0cb8 Merge pull request #1635 from dtolnay/checkcfg 05c4cd2bc Resolve unexpected_cfgs warning 45844d858 Update test suite to nightly-2024-05-01 79a80eb29 Update test suite to nightly-2024-04-28 b70a8e7d9 Update test suite to nightly-2024-04-26 128b1417e Update test suite to nightly-2024-04-25 19756f435 Resolve duplicated_attributes clippy lint in test 76beaff3c Raise stack size for tests in debug mode a9057f78f Update test suite to nightly-2024-04-19 0d90021d8 Merge pull request #1633 from dtolnay/up a27036da5 Add issue links for missing syntax support 81fa568ec Categorize other failures d44d43d85 Categorize excluded dirs 64f79c0da Update test suite to nightly-2024-04-18 1b2040357 Merge pull request #1627 from dtolnay/patident 348a0e7c2 Require ident in PatIdent to be a legal binding name 6a2892690 Merge pull request #1626 from dtolnay/peektest 5bc106df0 Add tests of peeking None-delimited group with AnyDelimiter 7029b220e Release 2.0.60 e978b9807 Remove html_root_url & syn.json reminder from Cargo.toml 48f99b0d7 Merge pull request #1625 from dtolnay/peek 4b18c1555 Improve how None-delimited groups are counted by peek 9f00b237f Merge pull request #1624 from dtolnay/peektest 990300a0b Add more extensive tests for ParseStream::peek 1431bd65b Update None-delimited group notation to use «∅ ∅» 54a16438d Fix empty-set symbol in comments 7307d29e6 Merge pull request #1623 from dtolnay/arrays 68d1cd9ac Take advantage of the IntoIterator for [T; N] 642bda9be Update test suite to nightly-2024-04-17 922ea2dfe Release 2.0.59 8db6e35cc Merge pull request #1622 from dtolnay/cstr ff670316e Enable rust-lang/rust test files that contain C-string literals 77fb56fe3 Add CStr literal tests 6eb76ef3a Add Lit::CStr 121258603 Merge pull request #1621 from dtolnay/edition 6a78bba60 Raise default edition of rust-lang/rust test files to 2021 82e572c5d Add br# suffix test b1a55dcc0 Reduce escaping in literal tests ade35a68b Delete obsolete integration test af991ca9b Add #[track_caller] on helper functions in tests ef1ca20e6 Consistently use lowercase in all panic messages 50e85c565 Consistently use 'ch', rather than 'chr', for name of char variables 85acff7cc Merge pull request #1620 from dtolnay/maxcharx 2a3efb222 Fix maximum allowed \x escape in character literal 739bfee93 Consistently use uppercase hex in \x literals 9d93b03cf Merge pull request #1619 from dtolnay/unexpectedbyte 86d14a1ec Improve error messages on unexpected escaped byte in literal c564195bd Merge pull request #1618 from dtolnay/miridoctest 70606bcf2 Skip doctests in Miri job on pull requests a2290bedb Merge pull request #1617 from dtolnay/nojson 2f661f1b5 Support regenerating Clone impls with syntax tree changes 70560dbfe Release syn-codegen 0.4.2 28b4d9cee Merge pull request #1616 from dtolnay/jsonserde 90ebd8e3c Add a no-default-features build of syn-codegen in CI 90c131f91 Make syn-codegen's serde dependency optional (but default) e0a254b72 Merge pull request #1615 from dtolnay/loadfileerror eaec1955c Remove codegen's dependency on thiserror 0a4927a87 Merge pull request #1614 from dtolnay/codegenserde 28acfa6cc Deserialize Cargo.toml simply to toml::Table 8abde8407 Remove codegen's dependency on serde_derive 3c3e36734 Merge pull request #1613 from dtolnay/codegendep 1cf23521a Check for outdated codegen dependencies in CI 15a64d2a5 Update color-backtrace to 0.6 171026674 Update codegen's toml dependency to 0.8 2be9f405f Update test suite to nightly-2024-04-09 fb7c5a03e Revert "Temporarily disable miri on doctests" 424cecc15 Resolve legacy_numeric_constants clippy lints 81adad6bf Release 2.0.58 7247053fe Merge pull request #1611 from dtolnay/customdollar 990142f2f Support '$' in custom_punctuation macro 4753622c0 Merge pull request #1610 from dtolnay/sortpunct 36a7f67e2 Sort tokens in the same order between custom_punctuation_len and Token macro f10442729 Update test suite to nightly-2024-03-31 9cea040c0 Release 2.0.57 3c07b7847 Release 2.0.56 585df4726 Merge pull request #1608 from BD103/deps-features d7650b2af chore: bump msrv to 1.60 (pt. 2) 4913ab2fe chore: bump msrv to 1.60 694f6044a feat: use optional dependency feature syntax `?` 6c7c709c4 refactor: use `dep:` prefix for `quote` dependency c7f734d8c Explicitly install a Rust toolchain for cargo-outdated job dcd74f541 Merge pull request #1605 from dtolnay/workspacewrapper 3748333f0 Apply RUSTC_WORKSPACE_WRAPPER aebdd7a8f Exclude benches from miri 46c4e1e85 Temporarily disable miri on doctests d4c4811bd Release 2.0.55 21d9e5f66 Merge pull request #1603 from dtolnay/compat 6e8a372d6 Restore compatibility with rustc 1.56 through 1.59 a5d02b1af Release 2.0.54 c218a352e Merge pull request #1602 from dtolnay/deadcode 2ddfdc666 Suppress dead code lint on custom token's span field e4f3216b6 Update test suite to nightly-2024-03-23 fa563a42e Merge pull request #1601 from dtolnay/vistest cfb9bb460 Add test of unnamed tuple struct field with inherited visibility 73c308793 Update test suite to nightly-2024-03-22 5d0b1e0fc Ignore uninlined_format_args pedantic clippy lint 0b2b498fa Raise required compiler to rust 1.60 b6ecd3d58 Update to reqwest 0.12 32dcf8df3 Release 2.0.53 fd1f2aa99 Merge pull request #1597 from dtolnay/copyprintnothing 4f6c0528d Implement ToTokens for syn::parse::Nothing 3f3754379 Implement Copy for syn::parse::Nothing 36a412217 Update test suite to nightly-2024-03-16 bd931069f Revert "Temporarily disable nightly testing due to libLLVM link issue" 06166a77b Update test suite to nightly-2024-03-09 ed545e75d Work around doc_markdown lint in test_precedence 7aef1edbb Temporarily disable nightly testing due to libLLVM link issue 556b10bf2 Update test suite to nightly-2024-03-06 ff6ebfbaa Update test suite to nightly-2024-03-04 c35d639fc Update test suite to nightly-2024-03-03 94e3d765d Update test suite to nightly-2024-03-02 d5e079bfc Update benchmark to nightly-2024-03-01 8f1fb52d9 Update benchmark to nightly-2024-02-29 69e5ff0b1 Update test suite to nightly-2024-02-29 07ede6a6b Release 2.0.52 acbcfbc8c Merge pull request #1593 from dtolnay/boundary 4924a993d Add an expression parser that uses match-arm's boundary rules e06122bf2 Resolve unnecessary_get_then_check clippy lint 018fc5a62 Update test suite to nightly-2024-02-27 5e15a9b41 Release 2.0.51 7e0d4e1f4 Resolve non_local_definitions warning in debug impls 8667ad97c Ignore module_name_repetitions pedantic clippy lint in codegen 1fc32000e Update test suite to nightly-2024-02-26 07a206557 Update test suite to nightly-2024-02-23 0dae01509 Release 2.0.50 2b493c342 Update location of Pat variant aliases 07a435df6 Fix doc links now that crate::* is no longer imported 713f932b8 Eliminate glob imports 6eb82a997 Eliminate glob imports from codegen 896a7306e Eliminate glob imports from examples 866c80ce2 Update test suite to nightly-2024-02-18 d4b499e39 Update test suite to nightly-2024-02-17 38956e604 Update test suite to nightly-2024-02-16 e64c06360 Release 2.0.49 981359c5f Merge pull request #1590 from dtolnay/streof 51298d40a Improve error location at eof in LitStr::parse 270c63384 Update test suite to nightly-2024-02-13 dc9cf16b9 Remove FilterAttrs trait when unused 7dcfac79e Ignore dead_code warning in test 983184410 Update signature of Emitter::emit_diagnostic in nightly-2024-02-07 9e8033f63 Update test suite to nightly-2024-02-07 cb3348cd9 Update test suite to nightly-2024-01-23 15b9dbcd6 Update test suite to nightly-2024-01-19 98a90d701 Update test suite to nightly-2024-01-14 fcff12ee4 Ignore unconditional_recursion clippy lint due to false positive a108467c3 Update test suite to nightly-2024-01-09 5e16fc24e Release 2.0.48 dc40084b1 Merge pull request #1578 from dtolnay/elseblock 82fcefce6 Fix error message on unexpected token after 'else' e8a5c68ad Merge pull request #1576 from dtolnay/exhaustive 97b1df6d9 Pick up changes to non_exhaustive_omitted_patterns lint 2c96972d1 Release 2.0.47 845e295d1 Pull in proc-macro2 LexError fix 36e50fa23 Merge pull request #1575 from dtolnay/lexerror 7b3286afc Preserve LexError's Display representation in syn::Error 1650c861a Release 2.0.46 65c771080 Pull in proc-macro2 sccache fix 61dee8921 Merge pull request #1574 from dtolnay/precedence 36182d473 Move expression Precedence enum to own module 6bfa2784f Release 2.0.45 3ba270b13 Merge pull request #1573 from dtolnay/pattype 969b207b5 Impl Parse for PatType a0fcd83fd Merge pull request #1572 from dtolnay/discriminant 29a7d7b03 Add a fallback for parsing DeriveInput discriminants to Verbatim in non-full mode 82f1eb74a Ignore diverging_sub_expression clippy lint d34161214 Import extension traits consistently as underscore ae9426877 Deduplicate Member::is_named / Member::is_unnamed 1b7119cda Merge pull request #1571 from dtolnay/exprstruct 3b947f368 Make Expr::Struct available in non-"full" mode dc402299e Merge pull request #1570 from dtolnay/binopassign 4b6c93df6 Parse binary assignment operators in non-"full" mode 58b42f526 Release 2.0.44 452343776 Merge pull request #1569 from dtolnay/cfgvisit 694a1bb66 Render doc cfg on Visit/VisitMut/Fold trait methods 1728630ca Add doc cfg on Error::new_spanned 649e4266a Mark exprs which are not parsed in "derive" mode as "full"-only 6c4627f24 Fill in missing doc cfg on Expr and Pat nodes 1cea0bef1 Merge pull request #1568 from dtolnay/doccfg dc2153d04 Restore doc cfg on re-exports e2b6ebc55 Fix typo in ast_enum cfg a193361b8 Fix unused_macros warning on ast_enum when features are disabled 16364d9e6 Preserve span of pub token in pub_if_not_doc macro c81ca5f14 Limit ast_struct definition body to a single token fa2716a7d Preserve span of struct token in ast_struct macro ee4c4aac5 Simplify ast_struct macro 8149aa273 Inline strip_attrs_pub into ast_struct macro 5fd5852b3 Remove unused tokens from input of ast_enum_of_structs_impl macro 7d591b86a Inline ast_enum into ast_enum_of_structs macro 4b3be4dbb Inline strip_attrs_pub into ast_enum macro abad220d8 Remove unused suffix mechanism from ast_enum_of_structs macro fd8bca870 Hide vestigial StrStyle from doc 5bcd86c11 Touch up macro formatting of ast_enum 98fffd8b9 Merge pull request #1567 from dtolnay/novisit d68e60fd0 Delete #no_visit support from syn-codegen bb0532064 Delete #no_visit support from ast_enum macro f539fb3b8 Move StrStyle out of no-op ast_enum b3f94678b Merge pull request #1565 from dtolnay/reference 01e4fb106 Make Expr::Reference available in non-"full" mode 6c115ed33 Merge pull request #1564 from dtolnay/methodcall 41ed201c7 Make Expr::MethodCall available in non-"full" mode 82136a423 Pull in proc-macro2 build script improvement 8aa9afbd5 Merge pull request #1563 from dtolnay/cargoenvvar 867335b6a Improve failure if cargo promised environment variable not present c4d1bd609 Merge pull request #1562 from dtolnay/rustcprivate 4bfbebdd9 Enable rustc AST test suite not based on compiler version, but feature support d16bef9eb Update test suite to nightly-2023-12-28 95ee05214 Release 2.0.43 7383e81b1 Merge pull request #1559 from dtolnay/pattuple 712fde5a6 Fix ToTokens for PatTuple to insert trailing comma ed9b94e33 Merge pull request #1558 from dtolnay/tupletests ec8517b33 Add tuple comma tests 3cf16c76b Merge pull request #1557 from dtolnay/snapshotparsequote 553549ff1 Generalize snapshot parsing to types that do not implement Parse f9ad833e4 Merge pull request #1556 from dtolnay/punctuatedsnapshot 131b40ba2 Debug impl for punctuated::Pairs superseded by Punctuated 3f12d652a Include punctuation tokens in snapshot tests containing Punctuated af53f2008 Merge pull request #1555 from dtolnay/tokensnapshot cffbed589 Use Token! representation for tokens in snapshots f2e5d8e72 Generate impls for more readable punctuation tokens in snapshots ad47dbc6f Fix needless_borrow clippy lint in test d4012a778 Update test suite to nightly-2023-12-24 edeb6a03c Update test suite to nightly-2023-12-23 ad9246432 Update test suite to nightly-2023-12-22 61ad23597 Merge pull request #1552 from dtolnay/unsafeop b4695ffca Fill in unsafe blocks inside unsafe functions 4d57a6034 Turn on deny(unsafe_op_in_unsafe_fn) f1b463ec3 Update test suite to nightly-2023-12-21 6dcf8abe0 Release 2.0.42 4349d0b32 Merge pull request #1551 from dtolnay/cursorexample 12ff3d19b Add a real-world example for ParseBuffer::cursor bdd06456b Precondition for cmp_asssuming_same_buffer is to check same_buffer a6ac13888 Update test suite to nightly-2023-12-19 66ee9029a Ignore blocks_in_conditions clippy lint e11575e97 Ignore uninhabited_references clippy lint 63b17012a Release 2.0.41 920ab7d6a Merge pull request #1548 from dtolnay/parsequotefield 5e1592408 Test parse_quote implementation for Field c268c6793 Support parsing Field in parse_quote 2ab0f6ae4 Merge pull request #1547 from dtolnay/testparsequote 46172a41a Add parse_quote tests 0fcdad044 Support punctuated Pairs iterator in snapshot tests 06161ba80 Update test suite to nightly-2023-12-12 cf7f40a96 Release 2.0.40 1ce8ccf5c Merge pull request #1538 from dtolnay/testinvisible d06bff888 Add test for parsing Delimiter::None in expressions 9ec66d42b Merge pull request #1545 from dtolnay/groupedlet 384621acc Fix None-delimited let expression in stmt position 5325b6d17 Add test of let expr surrounded in None-delimited group 0ddfc27cf Merge pull request #1544 from dtolnay/nonedelimloop 9c99b3f62 Fix stmt boundary after None-delimited group containing loop 2781584ea Add test of None-delimited group containing loop in match arm d33292808 Simplify token stream construction in Delimiter::None tests 569315272 Merge pull request #1543 from dtolnay/unarygroup 1ffbda912 Respect None-delimited group when parsing unary expr ede96cdb1 Add test reproducing unary None-delimited group precedence bug 1c546511c Merge pull request #1542 from dtolnay/exprgroup da9495b37 Support interpolated $:path followed by macro call or struct literal 93d52b0eb Add test where None-delimited group makes precedence go wrong c7ccf6d55 Add test of interpolated paths 9f29f05b2 Merge pull request #1541 from dtolnay/groupedattr 17305ff54 Fix infinite loop on attr surrounded by None-delimited group da0d4da75 Merge pull request #1540 from dtolnay/blockempty e2f5d4a8c Include empty 'stmts = []' in snapshots fbd9809d8 Merge pull request #1539 from dtolnay/labeledloop 80604dc8e Fix parsing of labeled loop followed by paren in stmt or match arm position 1a77631a8 Add test of parsing loop followed by unit expr 78f8f7906 Improve variable naming in precedence test 0ab9517d8 Delete unused failed field on rustc MutVisitor implementation da4b1640d Ignore doc_markdown pedantic clippy lint in test 83519a667 Change precedence test's syn Fold name to match lbrustc MutVisitor's name e67e3ba61 Delete unneeded documentation of some precedence test functions 0467b7746 Rename bracket -> parenthesize in precedence test c06fc6ea6 Fix unused import of Regex in test 5cd68883d Delete async!/try! workaround from precedence test 8c99b1a8e Rewrite explanation of test_precedence 4237624a8 Move crate-level documentation in test above attributes 13fe49270 Update test suite to nightly-2023-12-09 0f2fc2a31 Fix running roundtrip tests against dev build of rustc 46e0089fa Update test suite to nightly-2023-12-06 041e86296 Categorize gen block parse failure 492046fad Update test suite to nightly-2023-11-30 e2b51cb1b Update test suite to nightly-2023-11-25 19fe4fe3e Update test suite to nightly-2023-11-18 b909fd671 Ignore arc_with_non_send_sync clippy lint in benchmark c7172ac9e Update test suite to nightly-2023-11-07 924217c17 Release 2.0.39 95aeeb559 Merge pull request #1531 from dtolnay/breaklabel b88f86fae Ignore single_element_loop clippy lint in test a87618536 Improve error on break followed by labeled loop 32ab9794d Add test of ambiguous label parsing in break 6f658f88a Merge pull request #1530 from dtolnay/canbeginexpr 20497e1a5 More precise decision to parse expression after return keyword c6a651aa1 Update name of ExprReturn parse function to match variant name c27459010 Indicate that peek argument refers to syn::Ident 3e67cb0c6 Merge pull request #1529 from dtolnay/up ee3cc8f62 Record issues for new syntax gaps aadbe5a28 Categorize newly failing rust repo source files 93bfc8e75 Update test suite to nightly-2023-11-03 eb1737d22 Expose internal CustomToken trait only through __private module f7b79f5e5 Update test suite to nightly-2023-10-30 7719f547f Fix unused imports e20379473 Ignore into_iter_without_iter pedantic clippy lint 43632bfb6 Release 2.0.38 abd2c214b Merge pull request #1518 from Vanille-N/master 6701e6077 Absolute path to `bool` in `custom_punctuation.rs` 7313d2423 Resolve single_match_else pedantic clippy lint in code generator 67ab64f3c Include unexpected token in the test failure message 137ae3348 Check no remaining token after the first literal 258e9e8a1 Ignore single_match_else pedantic clippy lint in test 92fd50ee8 Test docs.rs documentation build in CI 96810880f Release 2.0.37 fbe3bc2dd Work around unknown_lints warning on rustc older than 1.64 75cf912e0 Ignore more repr_transparent_external_private_fields 299c78243 Ignore false repr_transparent_external_private_fields FCW in generated code ef6476c76 Release 2.0.36 6ae1a9756 Merge pull request #1514 from dtolnay/pubnotdoc 7bfef4b2b Work around doc breakage in generate-link-to-definition mode ce360ff4b Release 2.0.35 23736bdc4 Merge pull request #1512 from dtolnay/tokendoc 6f6b0040d Improve docs of Token! macro 319433e12 Merge pull request #1510 from ModProg/patch-3 975ce0b7c Release 2.0.34 858e578d1 Merge pull request #1511 from dtolnay/notdoc 1b0d7f807 Add cfg(not(doc)) to doc(hidden) functions 04c99726a Recurse over fold expr in just one place 2dc903f14 Factor out function to add syn parens bf5b46160 Enhance check for parenthesization of let-chains 299530bc2 Update test suite to nightly-2023-09-15 f38983680 Add example to `Token!` documentation 5e3f55e68 Release 2.0.33 3e04809f5 Pull in proc-macro2 error placeholder change 2cd5608a4 Merge pull request #1508 from dtolnay/error 84cfe0948 Fall through to 'Unrecognized literal' error a80570c81 Parse rustc's representation of macro expansion error 41b83c86f Release 2.0.32 e05bcea1f Reword Path::require_ident documentation 07a89ddd2 Merge pull request #1496 from Fancyflame/master 81945ea8d Update actions/checkout@v3 -> v4 b20e2c824 Release 2.0.31 0cfdca72d Merge pull request #1503 from dtolnay/constverbatim 8cdfd0919 Parse const item with generics as Verbatim b80156ede Adjust implementation of where-clause parsing on const items d73386e36 Parse where-clause on const item without value expr 38051877c Update CStr literal link 57514554e Link to issue for tail call syntax 5ede892c2 Merge pull request #1500 from dtolnay/dupexclude f3727bf1b Detect duplication between excluded files and dirs ecfbe2ecd Detect duplicate entries in exclusion lists cd479c067 Merge pull request #1499 from dtolnay/genericconst aafea03d6 Print generic const items 15bde5797 Parse generic const items 78f94eac5 Release 2.0.30 897f0de45 Merge pull request #1498 from dtolnay/unnamedfields e827aca23 Parse unnamed struct/union syntax face31f20 Categorize new todo rustc test cases b8cf87c83 Update test suite to nightly-2023-09-03 ceafc5930 Delete syn-parse-crates tool 97f8eb889 Added `require_ident` to `Path` 4cc6f7663 Opt out -Zrustdoc-scrape-examples on docs.rs 6983dd257 Update test suite to nightly-2023-08-25 b387b13f4 Release 2.0.29 1faea079e Partially work around ridiculous rust-analyzer behavior 24d6ef450 Merge pull request #1494 from dtolnay/primitive 47dc5d000 Switch to using primitives in macro-generated code through std::primitive 020fe2080 Update test suite to nightly-2023-08-05 f561339c9 Update test suite to nightly-2023-08-04 44c5fddeb Release 2.0.28 65aa66254 Merge pull request #1491 from dtolnay/expectedexpr 91c84f692 Fix trivial difference between full and non-full expression parse errors f79ba1540 Update test suite to nightly-2023-07-29 41c3847df Update test suite to nightly-2023-07-27 a17112121 Release syn-codegen 0.4.1 dd250f48c Also add --generate-link-to-definition for syn-codegen bb234930b Release 2.0.27 e3a15a911 Opt in to generate-link-to-definition when building on docs.rs 36a743af7 Merge pull request #1490 from dtolnay/docinline 535246e7f Fix useless re-exports section appearing in documentation at crate root 3b4290294 Merge pull request #1489 from GuillaumeGomez/unneeded-cfg 16da0b226 Update test suite to nightly-2023-07-21 268a017be Remove unneeded cfg 82c969e54 Ignore needless_pass_by_ref_mut clippy lint in generated traits 517f0e986 Merge pull request #1487 from dtolnay/clonefrom 2cb7f2801 Preserve existing allocations when cloning Punctuated 3d05bb53c Move ?Sized bounds into where-clauses a4d7aa80e Release 2.0.26 ee5984245 Merge pull request #1486 from dtolnay/qselfspan 9e32a34bb Implement Spanned for QSelf 026a38ccb Release 2.0.25 4d7254398 Merge pull request #1484 from dtolnay/parsesuffix d59afb25b Reject parse on LitStr containing suffix 7e8358abe Merge pull request #1483 from dtolnay/identgeneric ed8d784ef Support single identifier as unbraced const generic argument e523c3663 Directly call more specific expr ToTokens impl 24c48cdef Release 2.0.24 cefa056ba Merge pull request #1482 from dtolnay/nonfullconstarg a4fc6b113 Fix duplication of braces around const generic argument in non-full mode d757cf4eb Update test suite to nightly-2023-07-07 a36a1f7fb Sort dependencies and features c12b59de4 Make minimal-versions job consistent with other repos b09df844b Add link to insta bug report 7291802de Resolve useless_vec clippy lint in test dc88f95dd Move allow attribute from macro to block 0b952735c Ignore needless_raw_string_hashes clippy lint on insta inline shapshots f3cd37a3f Release 2.0.23 e9a38465f Merge pull request #1478 from dtolnay/nonfullblock 5325bb6f1 Parse block expr as verbatim in non-full mode 31e4119a3 Allow caller to keep using begin buffer after verbatim::between 1316ec6d1 Merge pull request #1476 from dtolnay/verbatimattrs 56226a592 Preserve attributes on verbatim Item in statement position 0ca354715 Release 2.0.22 62bd232c5 Merge pull request #1475 from dtolnay/litcstr fe0042edd Support parsing c-str literals cdacef781 Release 2.0.21 a5f92e198 Merge pull request #1474 from dtolnay/bytestrspaces fef64dac2 Stricter parsing of string_continue escape in cooked byte string literal 08287933f Merge pull request #1473 from dtolnay/backslashx 211ee86f5 Max \x escape allowed in cooked string literal is 0x7F 0d551240d Release 2.0.20 d42254637 Merge pull request 1469 from billy1624/point-to-latest-docs db3381a7f Release syn-codegen 0.4.0 7fa4584b9 Move syn-codegen crate to own workspace 85d41e1e2 Update indexmap dependency to version 2 f052630aa Update docs.rs links to latest `syn` 8e94e99cd Update test suite to nightly-2023-06-23 782fd2467 Parse crate root in nested use-trees ed8dcbd60 Categorize new parse failures 31035aa58 Update test suite to nightly-2023-06-20 fe4b75004 Remove .clippy.toml in favor of respecting rust-version from Cargo.toml aa1de30f9 Revert "*Resolve* spanned errors at call/mixed site" e53120a3c Allow serde and serde_derive to compile in parallel 35e6821d9 Release 2.0.19 8aeb1d77d Implement compile_error using call site span 145142acd Merge pull request #1467 from danielhenrymantilla/located_at_error a091982ad *Resolve* spanned errors at call/mixed site 2a001f4ba Merge pull request #1466 from dtolnay/threadboundclone 250a08d5a Fix call of proc_macro::Span::clone on the wrong thread d1bf43a83 Update test suite to nightly-2023-05-30 4cae0a230 Release 2.0.18 278dbe145 Merge pull request #1461 from dtolnay/emptyattr f1ff0e9de Permit empty attr in syn::meta::parser c59a68dda Release 2.0.17 c49115a6a Eliminate pm rename for proc_macro crate ab1941543 Merge pull request #1459 from dtolnay/wasm ee29399c5 Extern crate proc_macro available on all wasm targets 4e9706327 Show error details during miri setup in CI 9aa5c632e Release 2.0.16 efda52a7f Merge pull request #1454 from dtolnay/builtin e05498577 Parse builtin# syntax dad8ebaf4 Move expr parser's custom keywords into kw module 2491bae50 Revert "Temporarily disable miri CI" 92aa91452 Update test suite to nightly-2023-05-06 31c574cf2 Temporarily disable miri CI 5157ea487 Update test suite to nightly-2023-05-04 1dfc340b8 Format PR 1446 with rustfmt c5ebd1f38 Update test suite to nightly-2023-05-03 704550f42 Update test suite to nightly-2023-05-02 ab1c5ce3d Update type size test for nightly-2023-04-30 sizes dc9592d6e Merge pull request #1447 from utilForever/master 262a2269a fix: Correct minor typo 038ccdbe5 Merge pull request #1446 from dtolnay/dumpspan 8e02dd107 Render zero sized spans in dump-syntax example 0bf710423 Update test suite to nightly-2023-04-23 3da56a712 Release 2.0.15 2b7ba2355 Merge pull request #1444 from Fancyflame/master 03e4f217b fix TypeTuple::to_tokens may result in TypeParen 0f78bdf2e Update test suite to nightly-2023-04-13 653678690 Ignore unnecessary_box_returns pedantic clippy lint 23686e408 Release 2.0.14 ed15fda5e Merge pull request #1442 from programmerjake/add-pop-punct 81c503550 add Punctuated::pop_punct() 2dc79880c Update test suite to nightly-2023-04-05 1c1c2f074 Release syn-codegen 0.3.1 97e79f52c Fix html_root_url of syn-codegen crate fe5e16247 Merge pull request #1440 from dtolnay/indexmap f761f2480 Force indexmap std support ac5f15d09 Release 2.0.13 856c5ddcf Pull in proc-macro2 1.0.55's Literal span fixes 9aae2b459 Merge pull request #1436 from dtolnay/floatsubspan b0861b99a Ignore range_plus_one pedantic clippy lint 3b7c55539 Improve spans of Expr::Field parsed from a float Literal b80c69ac1 Link to issues tracking unimplemented syntax 80d424876 Improve stderr filtering to handle compiletest's "revisions" mechanism c001c2659 Pass only .rs file paths to for_each_rust_file closure f7b4ef360 Share repo walkdir logic between the 2 repo walk tests ced12d42f Update "rust" repo benchmark to parse compiler and standard library only 2546432e7 Adopt walkdir convenience function for sorting 3f5812a08 Categorize new parse failures 7ef652ff6 Update test suite to nightly-2023-04-01 42e86861c Release 2.0.12 cc7cf9914 Absolute path to refer to core crate in compile_error expansion 4d1fd2622 Merge pull request 1431 from smoelius/compile-error 07601a83c Use `core` instead of `std` 710908453 Qualify `compile_error!` c58aceb0b Release 2.0.11 161be5ace Merge pull request #1428 from dtolnay/emptyattr 0b7da9641 Improve error message on empty parens inside parse_nested_meta 02961800a Update test suite to nightly-2023-03-28 e19a0fbfe Merge pull request #1425 from dtolnay/alert dffe82b26 Perform build-time alerts in test suite using build-alert crate 85d086ff0 Expose a way to fuzz with span-locations 741f67ec4 Update fuzz crate gitignore to ignore coverage dir f954499c7 Merge pull request #1423 from dtolnay/codegen efe6fcbef Revert "Decouple current syntax tree from the one codegen uses" 28aba10cf Update code generator to use syn 2 c4976f19f Release 2.0.10 1f705d8ec Remove precedence logic for the removed type ascription expression 64ed2b1b1 Disallow visibility and defaultness on macro call in trait item position a33ffa388 Fix parsing of const, async, unsafe, and extern fns inside impl block 94439aae5 Restore lookahead peek for better error message 275d36806 Release 2.0.9 280d5e478 Remove dead code from ImplItemFn's ToTokens 5036fd9c6 Clean up ImplItemFn hack using ImplItem::Verbatim 0f99d2765 Factor out some common code for type parsing fd8d37ee5 Disallow some nonsensical configurations of items e41f97706 Touch up parsing of field pats ae9e86560 Simplify parsing of Item::Const identifier 0ab438a16 Remove unneeded fn peek prior to peek_signature 2fea56f57 Release 2.0.8 40aa29101 Merge pull request #1422 from dtolnay/trymacro f3a4a4c0c Treat try keyword as 2015 ident in definition of try macro b862eff8a Release 2.0.7 e6b1bdfc2 Disallow consecutive path separator in use paths 8ae37b75d Fix duplicated name of mut self bare fn arg 78401020b Release 2.0.6 e76d6441f Merge pull request #1420 from dtolnay/nonbracemacro 6dcc48070 Keep non-brace macro invocations in trailing expr position as Expr::Macro d12db40c4 Merge pull request #1419 from dtolnay/expectedsemi 69c5efcd5 Improve error message on missing ';' between statements fd1825461 Release 2.0.5 4df4c4eaa Merge pull request #1417 from dtolnay/exprmacro f591c4012 Provide Expr::Macro even with features="full" off fb1062fb2 Eliminate allow_struct args in non-full mode 99de683c3 Factor out Path::is_mod_style private method 736d47908 Use PathArguments::is_none more places where possible 91ca7c065 Release 2.0.4 e7bb2381c Merge pull request #1416 from dtolnay/patherrors 7bb31b100 Improve error reporting in path parser eaf62159a Merge pull request #1415 from dtolnay/identkeyword 18cac495a Improve error message when parsing Ident encounters keyword 25def5108 Release 2.0.3 4f3803d2a Merge pull request #1412 from dtolnay/exprgroup 516a5b5fb Provide Expr::Group even with features="full" off cac5cc640 Release 2.0.2 8f826ef67 Touch up spacing in example for parse_multi_with_leading_vert fc58fcf9e Fix typo in Stmt::Macro documentation e29815224 Release 2.0.1 b87a0a1d0 Merge pull request #1409 from dtolnay/requiremeta 59dd7ccbf Add methods on Meta for error reporting an incorrect kind of attribute 11c0b6c7a Build attribute parse errors using std::fmt system e6cf74129 Move parse_args_with error handler into parsing module 906fa5654 Release 2.0.0 29bd8550e Fix warning about Cargo.toml exclude/include 4788fd96e Emphasize Punctuated's entry in the syn::punctuated module documentation 30287e364 Merge pull request #1405 from dtolnay/attrparse 35cbe6a6d Demonstrate attr.parse_args_with(Punctuated::<Meta, Token![,]>::parse_terminated) 2397e5300 Make all attribute parsing examples actually run 7c84b232d Restructure parse_nested_meta example code to be more easily skimmed 334bf8d33 Merge pull request #1404 from dtolnay/fastattr 6a4e49da5 Optimize attribute parsing for the overwhelmingly common case 615d66c48 Delete unneeded test modules from the benchmarks 1fed6896e Merge pull request #1403 from dtolnay/nestedattr b7babe882 Disallow outer attribute on expr inside of attribute f6b33101e Merge pull request #1402 from dtolnay/parsemetalist 188137cbe Add parse_args, parse_args_with, parse_nested_meta on MetaList abdf258c1 Parse edition 2015's try macro 138d954ef Parse 'try' as identifier in some legacy locations 2128e86aa Merge pull request #1401 from dtolnay/exprbox a6776646e Delete parsing of box syntax in expression position ca399630f Parse_macro_input module no longer contains any APIs other than the macro 3c292f790 Move parse_quote private internals to __private module 9b6fa5213 Merge pull request #1399 from dtolnay/parsequote 3a89d9640 Do not provide a parse_quote macro when printing feature is off d36cc08dd Merge pull request #1398 from dtolnay/constclosure 1f1b2bee1 Improve parsing of const closure edge cases e01fcdf5c Merge pull request #1397 from dtolnay/floatawait f8ec4f93f Fix parsing of `x.0. await` 6032918df Categorize new parse failures fca8c7b8f Update test suite to nightly-2023-03-14 c7c1292e6 Merge pull request #1396 from dtolnay/macrodelimspan 7e84b266f Add MacroDelimiter::span method 182f6e894 Seal the Spanned trait 157a12bad Merge pull request #1393 from dtolnay/delim 67001b19e Change Span to DelimSpan in token::Paren/Brace/Bracket 297c8a7e0 Revert "Parse unsafe attributes" f2332fb95 Merge pull request #1392 from dtolnay/parsegroup 1e58a180f Optimize Parse for Group 6390c912d Delete comment about Cursor equality 35454acdc Merge pull request #1391 from dtolnay/visitspan 13e5da388 Ignore needless_match clippy lint in generated Fold code 5ed12f8d7 Delete Span methods from fold, visit, visit_mut 2d37d584b Merge pull request #1390 from dtolnay/group 589c91ad4 Move definition of syn::token::Group out of define_delimiters 611c75267 Delete remark on Token macro 47a2c7a2c Use Brace's construction from single span 767b28733 Add note in test_size about proc-macro2's span-locations 39b728821 Improve error message on Attribute::parse_args at end of input 6f6e2f329 Do not call empty input an "unsupported expression" 1ed37513e Shrink span of error on Meta::Path when Meta::List expected c44cc5fe0 Merge pull request #1389 from dtolnay/nestedmeta eadfc21ef Improve error message on unexpected literal in nested meta 79a3f10ba Update test suite to nightly-2023-03-10 636509368 Revert "Ignore using destructuring assignment to wildcard pattern" 66ec197f8 Ignore let_underscore_untyped pedantic clippy lint cc39d6b3a Touch up PR 1385 f26af5f1b Merge pull request #1385 from SOF3/patch-1 b0ae45a12 doc: clarify that push_value can be used on empty Punctuated e036e0f62 Merge 1.0.109 into master bfa790b8e Release 1.0.109 c18254593 Restore compatibility with rust 1.31 c92ba56c7 Merge 1.0.108 into master 01f69e937 Release 1.0.108 62d0aeda4 stricter parsing of string_continue escapes 68d91a614 Update test suite to nightly-2023-02-23 5086dd5ff Merge pull request #1383 from dtolnay/moregenarg e5f5a7114 Make GenericArgument non-exhaustive afd3f26fe Merge pull request #1382 from dtolnay/typepath c2574147b Delete parsing of parenthesized generic arguments in Type::Path 65d9119bb Fill in dyn keyword in trait object in Path test 6f544a160 Merge pull request #1381 from ModProg/string-continue e6bb68e70 stricter parsing of string_continue escapes b0879d50c Support a manual trigger on CI workflow 580ac55e3 Support parse_quote for Box<Pat> 956c698aa Merge pull request #1376 from dtolnay/ranges caaa453dd Disallow range pattern from appearing unparenthesized inside slice dae4072e7 Add tests of range patterns inside slice patterns bc0543a01 Stricter parsing of range patterns 502e4645e Add range expression and range pattern tests 40a7827ce Compact Debug for Pat variants that use Expr structs 6fed8f87d Merge pull request #1375 from dtolnay/self 079fbd67f Parse typed self as FnArg::Receiver 63a7d4b29 Add tests of receiver with lifetime bbf57611e Convert tests of receiver() to snapshot tests 7f3adfaed Merge pull request #1374 from dtolnay/isident 4c2c2f647 Unconditionally expose Path::is_ident and get_ident 3d19b5fa3 Remove todo from ~const impl test case bf7774b10 Enable supertrait hint cycle test case which succeeds now 391c9c6d1 Fill in docs on some of the new syntax tree nodes 80b9d4cca Merge pull request #1372 from dtolnay/patparen 41a8e6c30 Add a Pat variant for a single parenthesized pattern b7b288a0c Merge pull request #1371 from dtolnay/anydelimiter 1fba7e898 Add an extension method to ParseStream to parse any delimiter 3325a485e Merge pull request #1370 from dtolnay/foreigngeneric bee27ab2a Preserve generics on ForeignItem::Type 836f29ff3 Merge pull request #1369 from dtolnay/unsafemod 04c72793b Unsafe modules and unsafe extern blocks 85f3bf22a Merge pull request #1368 from dtolnay/ops 5e555ae74 Non-exhaustive BinOp and UnOp 461fe9617 Merge pull request #1367 from dtolnay/binaryassign eb8b6e63a Combine Expr::AssignOp into Expr::Binary e369a713a Merge pull request #1366 from dtolnay/binassign 3af5c1181 Rename binary assignment operators to match core::ops's traits e6c786ce5 Merge pull request #1365 from dtolnay/pattuplestruct 828bb9cd0 Inline paren token and elements into PatTupleStruct cb9e4fa6e Merge pull request #1364 from dtolnay/boundlifetimes bb3e75876 Generalize BoundLifetimes to hold non-lifetime generic params 70fddd8d2 Merge pull request #1363 from dtolnay/lifetimebound db15bb72e Do not parse bounds on lifetime as part of BoundLifetimes 21888c8f8 Make type of BoundLifetimes element explicit 9e975209b Update generated code for WherePredicate order c2864501c Reorder lifetimes before types in WherePredicate 7e7b18539 Merge pull request #1362 from dtolnay/genericorder aef86977a Reorder GenericParams so lifetimes come before types 3fda92dfb Merge pull request #1361 from dtolnay/lifetimeparam 7e97c1fd8 Rename LifetimeDef -> LifetimeParam 03b1041ac Update dump-syntax documentation with new Debug format d721de97b Merge pull request #1360 from dtolnay/debugenum 580e68d3e More compact Debug representation for syntax tree enums 7552c94c1 Merge pull request #1359 from dtolnay/debugenum e88c8c0cb Factor out common part of type strings e34965ae3 Include type name in Debug of all enums 1dcdc3cc5 Simplify generated code using Operand 23d5c8c3e Adopt Operand throughout snapshot codegen ca0c7a090 Eliminate a RefCast layer for nested Option with unprintable value 390c5c79a Handle nested Option fields in snapshot ba21ad308 Fix RefCast import in generated code 49e59d79c Clean up generated snapshot code for Option fields 004ee8435 Make crate::token::printing module private 051c879d7 Make crate::token::parsing module private e22fc6194 Use const generic for the punct parser adbfde4c4 Revert "Yet another unused macro rules lint" 474e76669 Pub -> pub(crate) for contents of non-public modules 3f8528f3a Merge pull request 1358 from dtolnay/macroexport 5db133934 Call concat! and stringify! hygienically from exported macros a207d14cb Merge pull request #1357 from dtolnay/tokendoc efab8518a Document usages of every punctuation token a1516b731 Merge pull request #1356 from dtolnay/docconcat aeb0a8e47 Generate documentation for token types 9201098d6 Use :literal fragment specifier where possible bde782c6d Hide repr attribute from documentation b282ebf0b repr(C) -> repr(transparent) 469b62e5c Simplify special case in PartialEq code generator 83feba6c7 Use unicode horizontal ellipsis in documentation of delimiter tokens 4de22296e Merge pull request #1355 from dtolnay/tokenname 346c04223 Update generated code with new token names 058c1bf45 Sort renamed punctuation tokens cb72fbf35 Rename punctuation tokens to match naming used in Reference 3d0cc9de5 Sort punctuation token types in alphanumeric order 857102315 Merge pull request #1354 from dtolnay/restrictions fc39ee121 Implement restrictions 183cd7a59 No match for debug impl of empty enum 4dbeb0d63 Improve PartialEq codegen for enums with 0-1 variants 0be816ebb Merge pull request #1351 from Lucretiel/parse-file-docs e90fc5b0e Add note to `File` rustdoc about `parse_file`. fc397077c Merge pull request #1349 from dtolnay/cliteral de70bd404 Preserve c"..." and cr"..." literal tokens 8dbdb720b Comment the arms of the literal parser with example literals 055a4a570 Delete do_not_generate_to_tokens 8fa4a9231 Delete some comments that are not informative 14ec0a8c1 Merge pull request #1348 from dtolnay/unsafeattr 45ccab96d Parse unsafe attributes fe159798d Merge pull request #1347 from dtolnay/vispublic 15aec4fe0 Delete VisPublic struct 4b31ce12d Merge pull request #1346 from dtolnay/snapshot dbad2acea Hardcode some more syntax tree enums for snapshots 353489edf Merge pull request #1345 from dtolnay/snapshot 5d154a921 Ignore match_wildcard_for_single_variants pedantic clippy lint in generated code 3eb49412d Exclud…
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
broadcast use
checks that the argument is abroadcast
function butbroadcast group
seems to be missing that check.cc @utaal
The text was updated successfully, but these errors were encountered: