about summary refs log tree commit diff
path: root/tests/pretty/tests-are-sorted.pp
AgeCommit message (Collapse)AuthorLines
2025-03-26expand: Leave traces when expanding `cfg` attributesVadim Petrochenkov-3/+0
2024-09-11Use `doc(hidden)` instead of `allow(missing_docs)` in the test harnessOlivier Goffart-1/+1
So that it doesn't fail with `forbid(missing_docs)` Fixes #130218
2024-09-11Use `#[doc(hidden)]` instead of `#[allow(missing_docs)]` on the const ↵Olivier Goffart-3/+3
generated for `#[test]`
2024-09-11Fix false positive with `missing_docs` and `#[test]`Olivier Goffart-0/+3
Since #130025, the compiler don't ignore missing_docs when compiling the tests. But there is now a false positive warning for every `#[test]` For example, this code ```rust //! Crate docs fn just_a_test() {} ``` Would emit this warning when running `cargo test` ``` warning: missing documentation for a constant --> src/lib.rs:5:1 | 4 | #[test] | ------- in this procedural macro expansion 5 | fn just_a_test() {} | ^^^^^^^^^^^^^^^^^^^ ```
2024-09-09Allow `missing_docs` lint on the generated test harnessUrgau-0/+1
2024-02-22Re-bless tests/pretty许杰友 Jieyou Xu (Joe)-4/+4
2024-01-21Add `#[coverage(off)]` to closures introduced by `#[test]`/`#[bench]`Zalathar-3/+6
2023-09-08Rework no_coverage to coverage(off)Andy Caldwell-1/+1
2023-05-01Add `#[no_coverage]` to the test harness's `fn main`Zalathar-0/+1
2023-03-15Implementing "<test_binary> --list --format json" #107307 #49359Partha P. Das-3/+19
2023-01-11Move /src/test to /testsAlbert Larsan-0/+69