about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2019-04-01rustup 41316f0449025394fdca6606d3fdb3b8f37a9872Matthias Krüger-1/+1
2019-04-01Updated source to match with recent rustc `master` toolchain changesFélix Fischer-1/+1
2019-03-12Remove some unused features and `error-pattern`sPhilipp Hansch-9/+0
2019-03-10Various cosmetic improvements.Alexander Regueiro-2/+2
2019-03-10rustfmtJohn Kåre Alsaker-12/+15
2019-03-10Use the new rustc interfaceJohn Kåre Alsaker-55/+61
2019-02-26Remove `#[feature(try_from)]`Michael Wright-1/+0
`try_from` is now stable.
2019-02-10removing redundant closures in the whole projectGrzegorz-2/+2
2019-02-02Drive-by cleanups to cargo-clippy. No functional change.Jeremy Fitzhardinge-8/+2
2019-02-02clippy-driver: if --sysroot is specified on the command line, use thatJeremy Fitzhardinge-4/+15
If the user explicitly sets sysroot on the command line, then use that value. Issue #3663
2019-02-02clippy-driver: more robust test to see if we're clippy-enabledJeremy Fitzhardinge-1/+41
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-01Adding lint for too many lines.Araam Borhanian-0/+1
2019-01-27rustup https://github.com/rust-lang/rust/pull/57726Matthias Krüger-1/+1
2019-01-26Fix dogfood tests on AppveyorMichael Wright-0/+6
This introduces a work-around for a bug in rustup.rs when excuting cargo from a custom toolchain. Instead of trusting rustup to invoke cargo from one of the release channels we just invoke nightly cargo directly.
2019-01-08Remove all copyright license headersPhilipp Hansch-27/+0
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
2018-12-25update CARGO_CLIPPY_HELP string to suggest tool lints.Matthias Krüger-3/+2
2018-12-19Link to `rustc_driver` crate in pluginAlex Crichton-0/+2
This is in anticipation for rust-lang/rust#56987 where the `rustc_driver` crate being linked in will be required to link correctly against the compiler. In the meantime it should be harmless otherwise!
2018-12-19Auto merge of #3546 - matthiaskrgr:fix_install, r=oli-obkbors-6/+38
Revert "Merge pull request #3257 from o01eg/remove-sysroot" This reverts commit 041c49c1ed11b016d6ab9379643bb1da2adf5bfe, reversing changes made to 1df5766cbb559aab0ad5c2296d8b768182b5186c. The PR broke running a cargo-install'd clippy. The installed clippy would not be able to find a crate for std. Fixes #3523 Reopens #2874
2018-12-17Move renaming to the right placeflip1995-0/+1
2018-12-14Revert "Merge pull request #3257 from o01eg/remove-sysroot"Matthias Krüger-6/+38
This reverts commit 041c49c1ed11b016d6ab9379643bb1da2adf5bfe, reversing changes made to 1df5766cbb559aab0ad5c2296d8b768182b5186c.
2018-12-06Don't try to determine sysroot. rustc_driver will use default value.O01eg-38/+6
2018-11-27Run rustfmt on srcflip1995-124/+121
2018-11-17remove unused allow() attributes, NFCMatthias Krüger-3/+0
2018-10-11Remove now-useless `allow(unknown_lints)`Oliver Scherer-3/+2
2018-10-11Stabilize tool lintsOliver Scherer-3/+3
2018-10-08Fix cast_possible_truncation warningsDevon Hollowood-1/+3
2018-10-06Add license header to Rust filesManish Goregaokar-0/+30
2018-10-03Allow to debug rustc_driver via logs.O01eg-0/+1
2018-09-15Reintroduce `extern crate` for non-Cargo dependencies.Eduard-Mihai Burtescu-3/+13
2018-09-14Fix pedantic filter_map warningsflip1995-2/+5
2018-09-06print git commit hash and commit date in version outputMatthias Krüger-3/+6
clippy 0.0.212 (964fcbe0 2018-09-06)
2018-09-06driver: Improve check for rustc argMichael Wright-1/+2
The rustc arg might not be exactly "rustc". It may be any path to a rustc executable (especially if the RUSTC environment variable is set when executing cargo). Rather check that it is a path with 'rustc' file stem.
2018-08-29Implement backwards compatibility changes introduced by rust-lang/rust#53762flip1995-2/+2
2018-08-29Adapt codebase to the tool_lintsflip1995-6/+9
2018-08-26Use the compilers exit code computation instead of rolling our ownOliver Schneider-109/+107
2018-08-23remove macro_vis_matcher feature gate since it is stable now.Matthias Krüger-1/+0
Warning was: warning: the feature `macro_vis_matcher` has been stable since 1.29.0 and no longer requires an attribute to enable --> src/lib.rs:4:12 | 4 | #![feature(macro_vis_matcher)] | ^^^^^^^^^^^^^^^^^ | = note: #[warn(stable_features)] on by default
2018-08-19Remove implied rust_2018 featureManish Goregaokar-1/+0
We are already on the edition and this feature is implied.
2018-08-15Fix #2927Michael Wright-3/+6
2018-07-23RustupOliver Schneider-1/+1
2018-07-23Rewrite the print/write macro checks as a PreExpansionPassOliver Schneider-0/+1
2018-06-25Enable rust_2018_idioms warningMateusz Mikuła-13/+3
2018-06-21Ensure a non-zero value is returned by clippy if compilation failsFraser Hutchison-2/+7
2018-06-07Cleanup of driver codeMateusz Mikuła-112/+46
2018-06-07Prepare for upcoming breakageMateusz Mikuła-6/+6
2018-05-30Add rust_2018_preview feature and fix rustfmt annotationMateusz Mikuła-0/+1
2018-05-22Format codeMateusz Mikuła-14/+17
2018-05-19Stop compilation after lintingOliver Schneider-0/+2
2018-05-19Rename trans to codegenutam0k-3/+3
2018-05-11Remove all mention and testing of #[plugin(clippy)] and warn if usedOliver Schneider-3/+4
2018-04-18Fix latest nightly breakagePhilipp Hansch-2/+2
I'm not sure if there are better ways to use the RwLock API, though. But it seems to work.