about summary refs log tree commit diff
path: root/compiler/rustc_ast/src
AgeCommit message (Expand)AuthorLines
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-12Rollup merge of #130235 - compiler-errors:nested-if, r=michaelwoeristerStuart Cook-11/+9
2024-09-11Remove unused functions from ast CoroutineKindMichael Goulet-8/+0
2024-09-11Rollup merge of #130114 - eduardosm:needless-returns, r=compiler-errorsJubilee-2/+2
2024-09-11Properly deny const gen/async gen fnsMichael Goulet-0/+8
2024-09-11clippy::useless_conversionMichael Goulet-4/+2
2024-09-11Also fix if in elseMichael Goulet-11/+9
2024-09-10disallow `naked_asm!` outside of `#[naked]` functionsFolkert de Vries-0/+13
2024-09-09Remove needless returns detected by clippy in the compilerEduardo Sánchez Muñoz-2/+2
2024-09-06Add initial support for raw lifetimesMichael Goulet-12/+14
2024-08-31Create opaque definitions in resolver.Camille GILLOT-6/+10
2024-08-31Rollup merge of #120221 - compiler-errors:statements-are-not-patterns, r=nnet...Matthias Krüger-21/+36
2024-08-27Rollup merge of #126013 - nnethercote:unreachable_pub, r=UrgauMatthias Krüger-0/+1
2024-08-26Don't make pattern nonterminals match statement nonterminalsMichael Goulet-21/+36
2024-08-24Rollup merge of #128524 - chenyukang:yukang-fix-127930-invalid-outer-style-su...Trevor Gross-0/+11
2024-08-16Add `warn(unreachable_pub)` to several crates.Nicholas Nethercote-0/+1
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-79/+91
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-25Rollup merge of #128138 - folkertdev:asm-option-allowlist, r=lcnrMatthias Krüger-0/+36
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-22Avoid passing state that will not be visitedOli Scherer-53/+16
2024-07-22Update trait name from Noop -> WalkOli Scherer-6/+6
2024-07-22Always pass the visitor as the first argument to walk* functionsOli Scherer-207/+207
2024-07-22Sync `mut_visit` function names with immut `visit` ones (s/noop_visit/walk/)Oli Scherer-134/+125
2024-07-22Add `Ident` to `FnKind::Fn`, just like with the immutable visitorOli Scherer-7/+16
2024-07-22Split up `visit_path` so `MutVisitor` has a `path_segment` method just like t...Oli Scherer-4/+13
2024-07-22Pass id and span to `visit_fn`, just like for the immutable visitorOli Scherer-13/+43
2024-07-22Make function items in mut visitors all go through the same visit_fn function...Oli Scherer-30/+52
2024-07-22Track visit_param_bound in mut visit just like in the immutable visitorOli Scherer-15/+15
2024-07-22Merge impl and trait item mut visitor methods to mirror immut visitorOli Scherer-7/+8
2024-07-17Rollup merge of #127806 - nnethercote:parser-improvements, r=spastorinoTrevor Gross-2/+1
2024-07-16Fix a bunch of sites that were walking instead of visiting, making it impossi...Oli Scherer-3/+3
2024-07-16Remove references to `maybe_whole_expr`.Nicholas Nethercote-2/+1
2024-07-13Rollup merge of #127558 - nnethercote:more-Attribute-cleanups, r=petrochenkovJubilee-77/+82
2024-07-10Make `visit_clobber`'s impl safeOli Scherer-14/+3
2024-07-10Add some comments.Nicholas Nethercote-1/+4
2024-07-10Factor out `AttrsTarget` flattening code.Nicholas Nethercote-64/+68
2024-07-10Rework `Attribute::get_tokens`.Nicholas Nethercote-17/+15
2024-07-07Rollup merge of #127308 - nnethercote:Attribute-cleanups, r=petrochenkovMatthias Krüger-52/+21
2024-07-07Add an size assertion.Nicholas Nethercote-0/+1
2024-07-07Rename some attribute types for consistency.Nicholas Nethercote-12/+12
2024-07-07Remove `HasSpan` trait.Nicholas Nethercote-37/+4
2024-07-07Rename `Attribute::tokens` (the inherent method).Nicholas Nethercote-3/+4