about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/test_harness.rs
AgeCommit message (Expand)AuthorLines
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
2022-11-27Prefer doc comments over `//`-comments in compilerMaybe Waffle-2/+2
2022-10-24Rollup merge of #99939 - saethlin:pre-sort-tests, r=thomcc,jackh726Yuki Okushi-5/+10
2022-09-14make `mk_attr_id` part of `ParseSess`SparrowLii-1/+4
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer-1/+0
2022-09-01Sort tests at compile time, not at startupBen Kimock-5/+10
2022-08-29Replace `rustc_data_structures::thin_vec::ThinVec` with `thin_vec::ThinVec`.Nicholas Nethercote-1/+2
2022-08-22Use `AttrVec` in more places.Nicholas Nethercote-3/+5
2022-07-13Rename `debugging_opts` to `unstable_opts`Joshua Nelson-1/+1
2022-06-26Auto merge of #98190 - nnethercote:optimize-derive-Debug-code, r=scottmcmbors-1/+1
2022-06-23Rename some `ExtCtxt` methods.Nicholas Nethercote-1/+1
2022-06-22Fixup missing renames from `#[main]` to `#[rustc_main]`Martin Nordholts-5/+6
2022-05-02fix most compiler/ doctestsElliot Roberts-1/+1
2022-03-03Adjusted diagnostic output so that if there is no `use` in a item sequence,Felix S. Klock II-3/+2
2022-03-03Associate multiple with a crate too.Felix S. Klock II-1/+1
2022-03-03refactor: prepare to associate multiple spans with a module.Felix S. Klock II-1/+3
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-2/+6
2021-11-28expand: Turn `ast::Crate` into a first class expansion targetVadim Petrochenkov-28/+30
2021-11-07ast: Fix naming conventions in AST structuresVadim Petrochenkov-6/+6
2021-08-21Remove `Session.used_attrs` and move logic to `CheckAttrVisitor`Aaron Hill-2/+1
2021-08-18Remove box syntax from rustc_builtin_macrosest31-2/+6
2021-07-17Use LocalExpnId where possible.Camille GILLOT-2/+3
2021-04-16Remove #[main] attribute.Charles Lew-6/+6
2021-02-18ast: Keep expansion status for out-of-line module itemsVadim Petrochenkov-7/+6
2021-02-18ast: Stop using `Mod` in `Crate`Vadim Petrochenkov-3/+7
2021-02-01Box the biggest ast::ItemKind variantsDániel Buga-1/+2
2020-11-10Changed unwrap_or to unwrap_or_else in some places.Nicholas-Baron-1/+1
2020-11-10Rollup merge of #78875 - petrochenkov:cleantarg, r=Mark-SimulacrumJonas Schievink-1/+1
2020-11-08Collapse all uses of `target.options.foo` into `target.foo`Vadim Petrochenkov-1/+1
2020-11-03rustc_ast: Do not panic by default when visiting macro callsVadim Petrochenkov-8/+0
2020-10-15Replace target.target with target and target.ptr_width with target.pointer_widthest31-1/+1
2020-09-10Attach `TokenStream` to `ast::Visibility`Aaron Hill-2/+1
2020-08-30mv compiler to compiler/mark-0/+383