about summary refs log tree commit diff
path: root/clippy_dev/src/stderr_length_check.rs
AgeCommit message (Collapse)AuthorLines
2020-02-03Decrease line length limit for stderrsYuki Okushi-1/+1
2020-01-30Decrease line length limit for stderr filesYuki Okushi-1/+1
2020-01-21Decrease line length limit for stderr filesYuki Okushi-1/+1
2019-10-14new lints around `#[must_use]` fnsAndre Bogus-0/+1
`must_use_unit` lints unit-returning functions with a `#[must_use]` attribute, suggesting to remove it. `double_must_use` lints functions with a plain `#[must_use]` attribute, but which return a type which is already `#[must_use]`, so the attribute has no benefit. `must_use_candidate` is a pedantic lint that lints functions and methods that return some non-unit type that is not already `#[must_use]` and suggests to add the annotation.
2019-07-17Decrease maximum length for stderr filesPhilipp Hansch-1/+1
Now at 275.
2019-07-07Add dev fmt subcommandMichael Wright-10/+9
2019-05-17Collect at callsite, use eprintln instead of printlnPhilipp Hansch-4/+3
2019-05-16Add a stderr file length check to clippy_devPhilipp Hansch-0/+55
This adds a check to `clippy_dev` that enforces a maximum line count for `stderr` files. CI will fail if the line count is exceeded. It's currently set to `320` lines. Ideally this would be implemented in `compiletest-rs` but there are plans to move Rust's `compiletest` into the `compiletest-rs` repository and I don't want to do the work in `compiletest` twice. However, I also don't want to wait until the move is done, so I added the check to `clippy_dev` until it makes sense to add it to compiletest-rs. cc #2038