about summary refs log tree commit diff
path: root/compiler/rustc_ast/src/ast.rs
AgeCommit message (Expand)AuthorLines
2024-12-04Fix suggestion when shorthand self has erroneous typeMichael Goulet-0/+12
2024-12-02Never parenthesize `continue`David Tolnay-1/+1
2024-12-02Raise precedence of closure that has explicit return typeDavid Tolnay-2/+8
2024-12-02Squash closures and jumps into a single precedence levelDavid Tolnay-2/+1
2024-12-02Rollup merge of #133746 - oli-obk:push-xwyrylxmrtvq, r=jieyouxuGuillaume Gomez-15/+36
2024-12-02Deduplicate some matches that always panic in one armOli Scherer-4/+19
2024-12-02Add a helper method for extracting spans from AttrArgsEqOli Scherer-4/+10
2024-12-02Change `AttrArgs::Eq` into a struct variantOli Scherer-11/+11
2024-11-30Eliminate magic numbers from expression precedenceDavid Tolnay-12/+10
2024-11-28always create `DefId`s when lowering anon-constslcnr-3/+4
2024-11-26Rollup merge of #133140 - dtolnay:precedence, r=fmeaseMichael Goulet-46/+66
2024-11-25Refactor `where` predicates, and reserve for attributes supportFrank King-14/+9
2024-11-24add guard pattern AST nodeMax Niederman-3/+8
2024-11-21Implement the unsafe-fields RFC.Luca Versari-0/+1
2024-11-17Inline ExprPrecedence::order into Expr::precedenceDavid Tolnay-46/+66
2024-11-05Check for both `StmtKind::MacCall` and `ExprKind::MacCall`Boxy-4/+31
2024-11-02Do not format generic constsMichael Goulet-0/+6
2024-10-31Improve the missing_abi lint.Mara Bos-0/+2
2024-10-22Represent TraitBoundModifiers as distinct parts in HIRMichael Goulet-2/+2
2024-10-15Auto merge of #131723 - matthiaskrgr:rollup-krcslig, r=matthiaskrgrbors-5/+16
2024-10-15Rollup merge of #130635 - eholk:pin-reborrow-sugar, r=compiler-errorsMatthias Krüger-2/+9
2024-10-14Move trait bound modifiers into ast::PolyTraitRefMichael Goulet-5/+16
2024-10-11Auto merge of #131045 - compiler-errors:remove-unnamed_fields, r=wesleywiserbors-8/+0
2024-10-07Add sugar for &pin (const|mut) typesEric Holk-2/+9
2024-10-07Auto merge of #131235 - codemountains:rename-nestedmetaitem-to-metaitemlnner,...bors-2/+2
2024-10-06various fixes for `naked_asm!` implementationFolkert de Vries-2/+10
2024-10-06disallow `asm!` in `#[naked]` functionsFolkert de Vries-1/+19
2024-10-06Rename NestedMetaItem to MetaItemInnercodemountains-2/+2
2024-10-01Remove anon struct and union typesMichael Goulet-8/+0
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-7/+7
2024-09-21Handle macro calls in anon const def creation take 2Boxy-5/+6
2024-09-17Rollup merge of #130314 - compiler-errors:mac-prec, r=davidtwcoMatthias Krüger-5/+6
2024-09-13Use the same precedence for all macro-like exprsMichael Goulet-5/+6
2024-09-12Fix anon const def-creation when macros are involvedNoah Lev-8/+12
2024-09-12Rollup merge of #130252 - compiler-errors:const-gen, r=chenyukangStuart Cook-6/+6
2024-09-12Rollup merge of #130250 - compiler-errors:useless-conversion, r=jieyouxuStuart Cook-4/+2
2024-09-11Remove unused functions from ast CoroutineKindMichael Goulet-8/+0
2024-09-11Properly deny const gen/async gen fnsMichael Goulet-0/+8
2024-09-11clippy::useless_conversionMichael Goulet-4/+2
2024-09-10disallow `naked_asm!` outside of `#[naked]` functionsFolkert de Vries-0/+11
2024-08-24Rollup merge of #128524 - chenyukang:yukang-fix-127930-invalid-outer-style-su...Trevor Gross-0/+11
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-4/+8
2024-08-04don't suggest turning crate-level attributes into outer styleyukang-0/+11
2024-07-29Reformat `use` declarations.Nicholas Nethercote-13/+13
2024-07-27Rollup merge of #128207 - folkertdev:asm-parser-generalize, r=AmanieuTrevor Gross-0/+5
2024-07-25improve error message when `global_asm!` uses `asm!` optionsFolkert-0/+5
2024-07-25Auto merge of #128195 - matthiaskrgr:rollup-195dfdf, r=matthiaskrgrbors-1/+2
2024-07-24Use Cow<'static, str> for InlineAsmTemplatePiece::StringGnomedDev-1/+2
2024-07-24centralize turning asm flags into human readable namesFolkert-0/+36
2024-07-05Rollup merge of #127368 - YohDeadfall:dots-in-docs, r=fmeaseMichael Goulet-32/+32