summaryrefslogtreecommitdiff
path: root/src/librustc_lint/unused.rs
Commit message (Expand)AuthorAgeFilesLines
* Rollup merge of #59216 - stepnivlk:type_dependent_defs-wrappers, r=oli-obkMazdak Farrokhzad2019-03-281-1/+1
|\
| * Add def getting methods to librustc/ty/contextTomas Koutsky2019-03-161-1/+1
* | Make meta-item API compatible with `LocalInternedString::get` soundness fixVadim Petrochenkov2019-03-171-3/+3
* | syntax: Do not accidentally treat multi-segment meta-items as single-segmentVadim Petrochenkov2019-03-161-3/+5
* | rustc: rename item_path to def_path (except the module in ty).Eduard-Mihai Burtescu2019-03-151-1/+1
|/
* hir: remove NodeId from Exprljedrz2019-02-241-1/+3
* librustc_lint => 2018Taiki Endo2019-02-081-13/+16
* remove `_with_applicability` from suggestion fnsAndy Russell2019-01-261-6/+6
* Auto merge of #57726 - Zoxc:combine-early-lints, r=estebankbors2019-01-261-0/+24
|\
| * Combine all builtin early lints and use a separate walk for plugin lints. Add...John Kåre Alsaker2019-01-191-0/+24
* | Rollup merge of #57689 - nnethercote:redo-hir-Stmt, r=petrochenkovMazdak Farrokhzad2019-01-191-2/+2
|\ \ | |/ |/|
| * Make `hir::Stmt` a separate struct.Nicholas Nethercote2019-01-171-2/+2
* | Implement basic input validation for built-in attributesVadim Petrochenkov2019-01-131-2/+2
|/
* Remove licensesMark Rousskov2018-12-251-10/+0
* Use a function to access the Hir map to be able to turn it into a query laterJohn Kåre Alsaker2018-12-061-1/+1
* syntax: Rename some keywordsVadim Petrochenkov2018-12-041-1/+1
* Fix change to predicatesvarkor2018-11-191-1/+1
* Fix typo in #[must_use] messagevarkor2018-11-191-1/+1
* Handle trait objectsvarkor2018-11-191-6/+24
* Recognise #[must_use] on traits, affecting impl Traitvarkor2018-11-191-1/+14
* Use general uninhabitedness checkingvarkor2018-11-191-14/+10
* Rewrite `...` as `..=` as a MachineApplicable 2018 idiom lintvarkor2018-11-101-2/+2
* enforce unused-must-use lint in macrosAlex Burka2018-11-011-1/+2
* don't lint `unused_parens` on `if (break _)`Andre Bogus2018-10-291-4/+3
* Rollup merge of #55138 - zackmdavis:the_paren_trap, r=pnkfelixPietro Albini2018-10-251-4/+14
|\
| * in which unused-parens suggestions heed what the user actually wroteZack M. Davis2018-10-161-4/+14
* | Don't warn about parentheses on `match (return)`varkor2018-10-171-5/+8
|/
* Rollup merge of #54820 - kleimkuhler:issue-54538-unused_patterns-lint, r=niko...Manish Goregaokar2018-10-151-42/+69
|\
| * Add clarifying pattern lint comment and revert testKevin Leimkuhler2018-10-091-0/+4
| * Fix Range warning and improve testsKevin Leimkuhler2018-10-091-2/+6
| * Simply unused_parens check and add testsKevin Leimkuhler2018-10-091-17/+10
| * Share outer paren trimming logicKevin Leimkuhler2018-10-091-84/+46
| * Add initial impl of check_pat() for UnusedParensKevin Leimkuhler2018-10-091-4/+68
* | Unused result warning: "X which must" ↦ "X that must"varkor2018-10-141-2/+2
* | `#[must_use]` for associated functions is supposed to actually workZack M. Davis2018-10-121-4/+5
* | Fix handling of #[must_use] on unit and uninhabited typesvarkor2018-10-081-8/+15
|/
* simplify some unused lints codeAndre Bogus2018-10-031-26/+11
* Remove Ty prefix from Ty{Adt|Array|Slice|RawPtr|Ref|FnDef|FnPtr|Dynamic|Closu...varkor2018-08-221-3/+3
* `Applicability`-ify librustc_lintZack M. Davis2018-08-011-3/+7
* Remove unused `mut`sMatthew Jasper2018-07-291-1/+1
* Fix tidycsmoe2018-07-161-3/+16
* ExprKindcsmoe2018-07-161-7/+7
* StmtKindcsmoe2018-07-161-3/+3
* BinOpKindcsmoe2018-07-161-4/+4
* create multiple HIR items for a use statementQuietMisdreavus2018-06-141-1/+1
* in which the must-use additional messaging is tucked into a noteZack M. Davis2018-05-061-5/+5
* Remove Option from the return type of Attribute::name()Seiichi Uchida2018-05-021-2/+1
* stabilize `#[must_use]` for functions and must-use operatorsZack M. Davis2018-04-281-52/+52
* in which the fn-must-use codepath is prevented from panicking on closureZack M. Davis2018-04-281-1/+7
* Make must_use lint cover all binary/unary operatorsAaron Aaeng2018-04-221-15/+27