Matthias Krüger
9eda46ece5
deps: bump compiletest-rs from 0.4 to 0.5
2020-04-14 21:29:23 +02:00
Eric Huss
34a00fe7f4
Remove git2 dependency.
2020-03-13 18:22:51 -07:00
Yuki Okushi
43e760ce1d
Update git2 to 0.12
2020-02-27 16:13:05 +09:00
flip1995
6835e2d8e0
Nuke Travis+AppVeyor CI
2020-02-18 10:08:58 +01:00
flip1995
d7620a3e62
Add GHA badge to README.md
...
Add a FIXME to Cargo.toml
2020-02-12 09:34:26 +01:00
Matthias Krüger
cae265d941
deps: bump git2 from 0.10 to 0.11
2019-12-22 17:06:43 +01:00
Philipp Hansch
676f14baa0
Add custom ICE message that points to Clippy repo
...
This utilizes https://github.com/rust-lang/rust/pull/60584 by setting
our own `panic_hook` and pointing to our own issue tracker instead of
the rustc issue tracker.
This also adds a new internal lint to test the ICE message.
**Potential downsides**
* This essentially copies rustc's `report_ice` function as
`report_clippy_ice`. I think that's how it's meant to be implemented, but
maybe @jonas-schievink could have a look as well =)
The downside of more-or-less copying this function is that we have to
maintain it as well now.
The original function can be found [here][original].
* `driver` now depends directly on `rustc` and `rustc_errors`
Closes #2734
[original]: 59367b074f/src/librustc_driver/lib.rs (L1185)
2019-11-29 20:47:47 +01:00
flip1995
3e1139a7dc
Rust implementation of integration test
2019-11-28 16:55:21 +01:00
flip1995
1d3ec29880
Remove unused debugging feature
2019-11-25 17:23:07 +01:00
Manish Goregaokar
aa5a95f00c
Rustup to rustc 1.41.0-nightly ( a0d40f8bd
2019-11-18)
2019-11-18 23:49:58 -08:00
msizanoen
a127e14631
Remove clippy plugin
2019-10-24 21:12:19 +07:00
Matthias Krüger
b5f73dad90
deps: update cargo_metadata from 0.8.0 to 0.9.0
2019-10-23 17:30:24 +02:00
Manish Goregaokar
6693199c0b
Bump compiletest
2019-10-14 00:46:39 +07: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
Manish Goregaokar
68c26b325b
Rustup to rustc 1.39.0-nightly ( acf7b50c7
2019-09-25)
...
- Addresses inference error
- Updates compiletest
2019-09-25 11:11:14 -07:00
Michael Wright
b523d35d41
Deny warnings in CI
2019-07-15 07:35:02 +02:00
Lzu Tao
d6f580d62b
Bump cargo_metadata to 0.8.0
2019-06-01 16:49:10 +07: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
Andy Russell
9ede56f383
use derive
feature over serde_derive
crate
2019-05-09 13:05:34 -04:00
Philipp Hansch
2ab97a24e7
Update compiletest_rs
...
This includes a fix that make ICEs appear in UI tests again.
2019-04-19 18:23:25 +02:00
bors
e226f17d52
Auto merge of #3885 - mikerite:clippy_dev_toolchain, r=phansch
...
Add rust-toolchain for clippy_dev
AFAIK, `clippy_dev` is supposed to be built on stable. (This is why it's not a `[bin]` inside the root `Cargo.toml`.) This adds a `rust-toolchain` file for easy switching.
2019-04-08 05:58:34 +00:00
Manish Goregaokar
c7b78234da
Re-add tmp feature to compiletest
...
Got accidentally removed in the rustup
2019-04-07 14:36:03 -07:00
Manish Goregaokar
4c7c39acbc
Remove libtest from deps
2019-04-07 12:39:43 -07:00
Manish Goregaokar
a8ce9d655a
Use latest compiletest-rs
2019-04-07 12:02:22 -07:00
Michael Wright
63cd54ba11
Remove clippy_dev as dev-dependency
2019-04-05 06:00:27 +02:00
Oliver Scherer
d020565ed2
Hacky rustup
2019-03-26 10:55:03 +01:00
Mateusz Mikuła
da2cf8764a
Upgrade compiletest_rs to 0.3.19
2019-03-03 16:02:59 +01:00
Mateusz Mikuła
df8a489793
Use temporary branch for compiletest
...
https://github.com/rust-lang/rust/pull/58689 broke it
2019-03-01 11:54:25 +01:00
Jeremy Fitzhardinge
b5fd0108b3
clippy-driver: more robust test to see if we're clippy-enabled
...
Rather than looking for a fixed --emit arg set, just check to see
if we're emitting metadata at all. This makes it more robust to
being invoked by tools other than cargo (or if cargo changes its
invocation).
Issue #3663
2019-02-02 11:43:20 -08:00
Sorin Davidoi
1fe0cf6f07
chore(cargo/dependencies/cargo-metadata): Upgrade to 0.7.1
...
Closes https://github.com/rust-lang/rust-clippy/issues/3692 .
2019-01-25 21:53:44 +01:00
bors
5b8b01e8dc
Auto merge of #3519 - phansch:brave_newer_ui_tests, r=flip1995
...
Integrate rustfix into Clippy test suite
Once the [PR to compiletest-rs](https://github.com/laumann/compiletest-rs/pull/151 ) is reviewed and merged this fixes #2376 .
I will create a separate tracking issue for adding `run-rustfix` to all tests.
2019-01-03 15:08:47 +00:00
Philipp Hansch
ec1395aafb
Update to latest compiletest-rs release
2019-01-03 15:42:59 +01:00
Matthias Krüger
a49ed381bd
deps: bump rustc_tools_util version from 0.1.0 to 0.1.1 just in case...
2019-01-03 03:19:15 +01:00
Philipp Hansch
bd74fdce22
Use WIP branch for compiletest_rs
2018-12-28 20:53:01 +01:00
Matthias Krüger
f5929e0797
rust-lang-nursery/rust-clippy => rust-lang/rust-clippy
2018-11-22 04:40:09 +01:00
Yusuf Simonson
866caabb7a
Check for common metadata
2018-11-13 08:43:30 -05:00
Matthias Krüger
53edeacdc0
dependencies: bump compiletest-rs from git to 0.3.16
2018-10-29 09:56:00 +01:00
Matthias Krüger
349697531f
pin compiletest dependency to git version (12c980f47971b5ba6beb7cb2ffebf8b32f6766ea) while we are waiting for a new release
2018-10-28 16:56:33 +01:00
Manish Goregaokar
ca437e81a7
Relicense clippy
...
Documentation on relicensing in previous commit
Fixes #2885
Also fixes #3093 , fixes #3094 , fixes 3095, fixes #3096 , fixes #3097 , fixes #3098 ,
fixes #3099 , fixes #3100 , fixes #3230
2018-10-06 09:43:08 -07:00
Manish Goregaokar
6c1d6391ec
publish = false
2018-10-02 10:02:31 +02: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
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
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
Matthias Krüger
404a09d61c
the cargo feature: edition 2018 is stabilized in current nightly
2018-09-10 03:01:51 +02:00
Philipp Hansch
cafef7b576
Merge pull request #3137 from matthiaskrgr/clippy_git_version
...
print git commit hash and commit date in version output
2018-09-06 18:21:14 +01: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
Matthias Krüger
86679e230c
Cargo.toml: remove clippy-dev entry referencing src/main.rs as its main.rs.
...
Resolves warning:
warning: file found to be present in multiple build targets: ./src/main.rs
2018-09-06 13:03:38 +02:00
Philipp Hansch
35f100b4f9
update_lints rewrite: Add structure and --print-only
2018-09-03 22:18:51 +02:00
Oliver Schneider
89012722ba
Merge pull request #3018 from rust-lang-nursery/beta
...
We are riding the trains to stable, there's no point in trying to check the rustc version
2018-08-27 11:08:58 +02:00
Matthias Krüger
2224fbb5f7
deps: update cargo_metadata from 0.5 to 0.6.
2018-08-24 18:14:49 +02:00
Oliver Schneider
ed1667b7bc
Version checks are useless now that we ride the trains
2018-08-09 09:41:32 +02:00
Alex Crichton
c27cdcaf71
Switch strategies for how rustc's workspace is unioned
...
See rust-lang/rust#52919 for more details.
2018-08-01 21:33:44 -07:00
Manish Goregaokar
d914106d87
Bump to 0.0.212
2018-07-06 23:23:19 -07:00
Nick Cameron
6d9d3bac1d
Add some more winapi features
2018-07-06 11:16:36 +12:00
Oliver Schneider
28daee4c91
Rustup
2018-07-05 13:41:51 +02:00
Oliver Schneider
41972f89dc
HACK: make sure clippy builds the same deps as cargo and rls
2018-07-02 10:16:55 +02:00
Oliver Schneider
b4b6e6558e
Version bump
2018-06-29 10:22:01 +02:00
Oliver Schneider
9f8624e5bf
Version bump
2018-06-25 18:18:50 +02:00
Oliver Schneider
7d672888fe
Version bump
2018-06-19 09:56:37 +02:00
Mateusz Mikuła
8625cfb988
Version bump
2018-06-18 09:56:58 +02:00
Oliver Schneider
1c6c79f92c
Version bump
2018-06-03 08:59:10 +02:00
Oliver Schneider
bb2f6a5011
Merge pull request #2821 from mati865/rust-2018-migration
...
Rust 2018 migration
2018-05-30 15:55:11 +02:00
Mateusz Mikuła
551c02ecbf
Upgrade to edition 2018
2018-05-30 10:18:52 +02:00
Oliver Schneider
ce229b2025
Version bump
2018-05-29 11:58:58 +02:00
Oliver Schneider
fc008aa14c
Rustup
2018-05-26 10:23:34 +02:00
Oliver Schneider
e7a3e03c6e
Version bump
2018-05-23 16:38:19 +02:00
Oliver Schneider
0bf96259f1
Version bump
2018-05-20 10:02:29 +02:00
Oliver Schneider
ebe0b0eed5
Version bump
2018-05-19 13:01:26 +02:00
Oliver Schneider
c0bf3a4696
Version bump
2018-05-17 11:40:12 +02:00
Oliver Schneider
c658fc8cbc
Version bump
2018-05-14 11:29:22 +02:00
Oliver Schneider
a8d7e5a1f2
Version bump
2018-05-13 11:16:07 +02:00
Bruce Mitchener
d5b5ba6b9f
Update to regex 1 (and regex-syntax 0.6).
2018-05-11 16:32:05 +07:00
Oliver Schneider
6baca22e27
Version bump
2018-05-11 09:56:57 +02:00
Philipp Hansch
c0a0ddd638
Add rustc version check to build script
2018-05-07 22:11:26 +02:00
Oliver Schneider
e456241f18
Version bump
2018-05-07 10:00:58 +02:00
Oliver Schneider
642baa91cf
Version bump
2018-05-04 15:54:56 +02:00
Oliver Schneider
c5b39a5917
Version bump
2018-04-19 08:36:22 +02:00
Oliver Schneider
9dc9487567
Version bump
2018-04-15 15:01:48 +02:00
Oliver Schneider
4015395888
Version bump
2018-04-08 11:13:46 +02:00
Manish Goregaokar
2046694029
Bump version to 0.0.192
2018-04-04 18:00:21 -07:00
Manish Goregaokar
b09e115404
Bump to 0.191
2018-03-30 10:38:42 +02:00
Benjamin Gill
8db845c189
Delete all code for handling manifest path
...
Now that we're using cargo check, we can stop needing to find out the
manifest path ourselves. Instead, we can delegate to cargo check, which
is perfectly capable of working out for itself what needs to be built.
This fixes #1707 and #2518 .
Note that this PR will change the output. We will no longer output `bin:
foo` before each crate. This a bit unfortunate. However, given that
we're now going to be building in parallel (which is *much* faster), I
think this is acceptable - we'll be no worse than cargo itself.
2018-03-28 23:27:49 +01:00
Oliver Schneider
96d5af36f8
Version bump
2018-03-27 12:14:46 +02:00
Oliver Schneider
47a706682c
Version bump
2018-03-19 09:26:05 +01:00
Oliver Schneider
8749927973
Rustup
2018-03-16 09:44:20 +01:00
Oliver Schneider
21f387d278
Update dependencies
2018-03-13 16:54:13 +01:00
Oliver Schneider
5296c52307
Merge pull request #2520 from ordovicia/remove-duct
...
Remove duct dependency
2018-03-12 08:19:52 +01:00
Hidehito Yabuuchi
c5d82e0590
Remove duct dependency
2018-03-11 14:07:16 +09:00
Hidehito Yabuuchi
ed769a3bc4
Ignore all macros in redundant_field_names
2018-03-11 13:57:28 +09:00
flip1995
926e8ff48a
Use compiletest version v0.3.7
2018-03-04 13:20:25 +01:00
Manish Goregaokar
539b4b61ec
Bump to 0.0.187
2018-02-26 12:32:18 -08:00
Oliver Schneider
ce47e529d2
Version Bump
2018-02-05 08:48:40 +01:00
Manish Goregaokar
8e8cf2feb1
Bump to 0.0.185
2018-02-02 13:23:32 +05:30
Oliver Schneider
8123495e0f
Version bump
2018-01-30 15:02:47 +01:00
Manish Goregaokar
81c5a05648
Bump to 0.0.183
2018-01-29 11:20:29 +05:30
Manish Goregaokar
b369d0234e
Bump compiletest version
2018-01-29 11:20:17 +05:30
Oliver Schneider
930a8c6cab
Version Bump
2018-01-25 08:58:47 +01:00
Manish Goregaokar
96cba36b46
Rustup to rustc 1.25.0-nightly ( 97520ccb1
2018-01-21)
2018-01-22 10:35:02 +05:30
Oliver Schneider
5a794d3ee9
Update compiletest
2018-01-18 23:05:29 +01:00