about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/test.rs
AgeCommit message (Expand)AuthorLines
2025-08-09remove `P`Deadbeef-8/+7
2025-08-06Port `#[should_panic]` to the new attribute parsing infrastructureJonathan Brouwer-34/+17
2025-07-17Improve path segment joining.Nicholas Nethercote-7/+2
2025-06-15use `if let` guards where possibleDeadbeef-4/+1
2025-05-27Reduce `P<T>` to a typedef of `Box<T>`.Nicholas Nethercote-6/+2
2025-05-27Remove `P::map`.Nicholas Nethercote-4/+1
2025-04-01Move `ast::Item::ident` into `ast::ItemKind`.Nicholas Nethercote-11/+13
2025-04-01Ignore `#[test_case]` on anything other than `fn`/`const`/`static`.Nicholas Nethercote-20/+26
2025-03-25Allow defining opaques in statics and constsMichael Goulet-0/+1
2025-02-08Rustfmtbjorn3-65/+92
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-172/+135
2024-09-11Use `#[doc(hidden)]` instead of `#[allow(missing_docs)]` on the const generat...Olivier Goffart-2/+2
2024-09-11Fix false positive with `missing_docs` and `#[test]`Olivier Goffart-0/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+6
2024-07-17add error message when `#[naked]` is used with `#[test]`Folkert-0/+8
2024-06-20Convert some module-level `//` and `///` comments to `//!`.Nicholas Nethercote-2/+3
2024-05-17Rename Unsafe to SafetySantiago Pastorino-1/+1
2024-04-30Remove `extern crate tracing` from numerous crates.Nicholas Nethercote-0/+1
2024-04-26Adjust some `pub`s.Nicholas Nethercote-4/+4
2024-03-28compiler: fix few needless_pass_by_ref_mut clippy lintsklensy-1/+1
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-2/+2
2024-01-21Add `#[coverage(off)]` to closures introduced by `#[test]`/`#[bench]`Zalathar-4/+17
2024-01-11Change how `force-warn` lint diagnostics are recorded.Nicholas Nethercote-1/+1
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-3/+3
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-3/+3
2024-01-04Remove `is_lint` field from `Level::Error`.Nicholas Nethercote-1/+1
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-1/+1
2023-12-24Remove `ExtCtxt` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-14/+13
2023-12-23Remove all uses of `DiagnosticBuilder::forget_guarantee()`.Nicholas Nethercote-7/+6
2023-12-18Rename many `DiagCtxt` and `EarlyDiagCtxt` locals.Nicholas Nethercote-13/+13
2023-12-18Rename `Session::span_diagnostic` as `Session::dcx`.Nicholas Nethercote-4/+4
2023-12-08Rename some more coro_kind -> coroutine_kindMichael Goulet-2/+2
2023-12-08Make some matches exhaustive to avoid bugs, fix toolsMichael Goulet-6/+24
2023-12-08coro_kind -> coroutine_kindMichael Goulet-2/+2
2023-12-04Address code review feedbackEric Holk-0/+4
2023-12-04Option<CoroutineKind>Eric Holk-1/+1
2023-12-04Merge Async and Gen into CoroutineKindEric Holk-1/+1
2023-12-02Use `Session::diagnostic` in more places.Nicholas Nethercote-4/+4
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-5/+5
2023-10-13Format all the let chains in compilerMichael Goulet-5/+7
2023-07-28Parse generic const itemsLeón Orell Valerian Liehr-0/+1
2023-06-25Migrate some rustc_builtin_macros to SessionDiagnosticHe1pa-6/+1
2023-06-19use `ErrorGuaranteed` instead of booleansLukas Markeffsky-59/+52
2023-06-07Deny non-lifetime generics for test functions.Lukas Markeffsky-18/+15
2023-06-06Fix ICE for nested test function with arguments.Lukas Markeffsky-6/+6
2023-04-25Fix static string lintsclubby789-12/+4
2023-04-11refactor: extract `not_testable_error` into functionEzra Shaw-32/+32
2023-04-07fix: ensure bad `#[test]` invocs retain correct ASTEzra Shaw-22/+40
2023-04-04box a bunch of large typesOli Scherer-22/+26