about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/test_harness.rs
AgeCommit message (Expand)AuthorLines
2025-05-29avoid some usages of `&mut P<T>` in AST visitorsDeadbeef-4/+2
2025-04-01Move `ast::Item::ident` into `ast::ItemKind`.Nicholas Nethercote-26/+20
2025-03-11Implement `#[define_opaque]` attribute for functions.Oli Scherer-0/+1
2025-02-03Express contracts as part of function header and lower it to the contract lan...Celina G. Val-0/+1
2025-01-21remove support for the #[start] attributeRalf Jung-4/+3
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-10Keep track of parse errors in `mod`s and don't emit resolve errors for paths ...Esteban Küber-2/+4
2024-11-20Use visit_item instead of flat_map_item in test_harness.rsmaxcabrajac-31/+21
2024-11-15Add WalkItemKind::Ctxt so AssocCtxt is not sent to non-Assoc ItemKindsmaxcabrajac-2/+2
2024-11-15Make Visitor::FnKind and MutVisitor::FnKind compatiblemaxcabrajac-2/+10
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-7/+7
2024-09-11Use `doc(hidden)` instead of `allow(missing_docs)` in the test harnessOlivier Goffart-3/+3
2024-09-09Allow `missing_docs` lint on the generated test harnessUrgau-1/+3
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+2
2024-07-22Avoid passing state that will not be visitedOli Scherer-2/+2
2024-07-22Always pass the visitor as the first argument to walk* functionsOli Scherer-2/+2
2024-07-22Sync `mut_visit` function names with immut `visit` ones (s/noop_visit/walk/)Oli Scherer-3/+3
2024-07-22Add `Ident` to `FnKind::Fn`, just like with the immutable visitorOli Scherer-1/+1
2024-07-22Pass id and span to `visit_fn`, just like for the immutable visitorOli Scherer-4/+4
2024-07-22Make function items in mut visitors all go through the same visit_fn function...Oli Scherer-1/+1
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-1/+2
2024-06-06Fix buildcarbotaniuman-1/+1
2024-06-06Parse unsafe attributescarbotaniuman-0/+1
2024-05-21Rename buffer_lint_with_diagnostic to buffer_lintXiretza-1/+1
2024-05-21Convert uses of BuiltinLintDiag::Normal to custom variantsXiretza-2/+3
2024-05-04Various improvements to entrypoint codeNilstrieb-1/+1
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-2/+2
2023-12-18Rename many `DiagCtxt` and `EarlyDiagCtxt` locals.Nicholas Nethercote-3/+3
2023-12-18Rename many `DiagCtxt` arguments.Nicholas Nethercote-3/+3
2023-12-18Rename `Session::span_diagnostic` as `Session::dcx`.Nicholas Nethercote-1/+1
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-1/+1
2023-12-10remove redundant importssurechen-1/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-2/+2
2023-10-20s/generator/coroutine/Oli Scherer-1/+1
2023-10-01Factor out the two `entry_point_type` functions.Nicholas Nethercote-16/+2
2023-09-29Change `depth` arg to `at_root`.Nicholas Nethercote-3/+3
2023-09-08Rename the feature, but not the attribute, to `coverage_attribute`Andy Caldwell-1/+1
2023-09-08Rework no_coverage to coverage(off)Andy Caldwell-4/+4
2023-08-11rustc: Move `features` from `Session` to `GlobalCtxt`Vadim Petrochenkov-5/+8
2023-08-03Make test harness lint about unnnameable tests.Camille GILLOT-0/+22
2023-06-25Migrate some rustc_builtin_macros to SessionDiagnosticHe1pa-4/+1
2023-05-01Add `#[no_coverage]` to the test harness's `fn main`Zalathar-2/+4
2023-04-25Fix static string lintsclubby789-2/+4
2023-04-09Migrate `sess.opts.tests` uses to `sess.is_test_crate()`blyxyas-1/+1
2023-03-23expand: Pass `ast::Crate` by reference to AST transforming passesVadim Petrochenkov-1/+1
2023-03-22rustc: Remove unused `Session` argument from some attribute functionsVadim Petrochenkov-15/+11
2023-02-21Use `ThinVec` in `ast::Block`.Nicholas Nethercote-2/+2
2023-02-21Use `ThinVec` in various AST types.Nicholas Nethercote-4/+5
2022-12-06`rustc_builtin_macros`: remove `ref` patternsMaybe Waffle-2/+3
2022-11-29Avoid more `MetaItem`-to-`Attribute` conversions.Nicholas Nethercote-8/+6