Commit graph

29 commits

Author SHA1 Message Date
flip1995
8e1ce480b9
Set Clippy authors to "The Rust Clippy Developers"
Clippy has grown enough, that putting specific people in the "authors"
field is warranted anymore.
2021-03-09 17:50:04 +01:00
returntrip
f2154e9837 To make it easier for Linux distributions, ship the licenses text within
each crate directory.
2020-05-25 23:06:08 +02:00
flip1995
7a85b7761b
Update Copyright year 2020-02-20 12:06:45 +01:00
flip1995
d51a80c57e
Enable deny-warnings feature everywhere in CI 2019-11-25 17:23:48 +01:00
Andre Bogus
cc622608db new lints around #[must_use] fns
`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-10-14 12:09:04 +02:00
Mateusz Mikuła
4f1d907462 Use new format of licenses
Co-Authored-By: lzutao <taolzu@gmail.com>
2019-10-04 17:40:32 +02:00
Michael Wright
be646ac0df Update formatting 2019-08-01 07:09:57 +02:00
Matthias Krüger
68281ad0b2 clippy: bump rustc_tools util version to 0.2
rustc_tools_util: fix typo in docs (readme)
2019-05-23 17:40:54 +02:00
Matthias Krüger
c8443c1528 rustc_tool_utils: bump version to 0.2.0 2019-05-23 17:30:05 +02:00
Matthias Krüger
8012b91198 rustc_tools_util: try to handle case of not having CFG_RELEASE_CHANNEL better when getting compiler channel. 2019-04-28 23:28:26 +02:00
Grzegorz
16881390e1 removing redundant closures in the whole project 2019-02-10 13:35:44 +01:00
Philipp Hansch
38d4ac7cea
Remove all copyright license headers
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
2019-01-08 21:46:39 +01:00
Matthias Krüger
31d96300ef rustc_tool_utils: fix failure to create proper non-repo version string when used in crates on crates.io, bump version 2019-01-02 20:12:15 +01:00
Matthias Krüger
345fe6d6c6 rustc_tools_util: add readme 2018-12-25 17:03:36 +01:00
Matthias Krüger
6f5c0d2e0a rustc_tool_utils: expand Cargo.toml with a few keywords in preparation for crates.io release 2018-12-25 16:45:47 +01:00
flip1995
3befd86967
Run rustfmt on rustc_tools_util 2018-11-27 21:12:38 +01:00
Manish Goregaokar
e9c025ea70 Add license header to Rust files 2018-10-06 09:43:08 -07:00
Matthias Krüger
91f7e22edf remove cargo edition 2018 feature gate.
Rust and the cargo used to bootstrap was updated in https://github.com/rust-lang/rust/pull/54601 which now has the 2018 edition stabilized.
2018-09-30 11:12:24 +02:00
Matthias Krüger
34693c0d6d rustc_tools_util: remove test and tool_lints features, both are actually unused.
Fixes build with beta.
2018-09-29 19:34:38 +02:00
Eduard-Mihai Burtescu
c70bfb2cac Revert "the cargo feature: edition 2018 is stabilized in current nightly"
This reverts commit 404a09d61c.
2018-09-15 11:16:45 +03:00
flip1995
582ab5a0d0
Reapply: "the cargo feature: edition 2018 is stabilized in current nightly"
This reapplies commit 404a09d.

Cargo got bumped in rust-lang/rust#54210
2018-09-14 13:43:20 +02:00
Matthias Krüger
19802f8652 rustc_tools_util: clean up pedantic clippy warnings 2018-09-13 19:06:04 +02:00
Oliver Schneider
1128505fdd Revert "the cargo feature: edition 2018 is stabilized in current nightly"
This reverts commit 404a09d61c.
2018-09-10 16:02:17 +02:00
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer
c884357849
Merge pull request #3160 from matthiaskrgr/ed_2018
the cargo feature: edition 2018 is stabilized in current nightly
2018-09-10 13:57:55 +02:00
Matthias Krüger
404a09d61c the cargo feature: edition 2018 is stabilized in current nightly 2018-09-10 03:01:51 +02:00
Matthias Krüger
61249b360e impl std::fmt::Debug for VersionInfo
For clippy, this would print:
VersionInfo { crate_name: "clippy", major: 0, minor: 0, patch: 212, commit_hash: "084be7ba", commit_date: "2018-09-09" }
2018-09-09 23:45:29 +02:00
Matthias Krüger
a14155088b rustc_tools_util: add test 2018-09-07 19:18:45 +02:00
Matthias Krüger
202db3e09c rustc_tools_util: don't hardcode crate name 2018-09-07 18:03:03 +02:00
Matthias Krüger
fa11aad92a print git commit hash and commit date in version output
clippy 0.0.212 (964fcbe0 2018-09-06)
2018-09-06 14:45:12 +02:00