summary refs log tree commit diff
path: root/src/librustc_lint
AgeCommit message (Expand)AuthorLines
2020-07-10rustdoc: Rename invalid_codeblock_attribute lint to be pluralOliver Middleton-2/+2
2020-05-29Rollup merge of #71862 - LeSeulArtichaut:unsafe-block-in-unsafe-fn, r=nikomat...Ralf Jung-2/+19
2020-05-28rustc_lint: Remove `unused_crate_dependencies` from the `unused` groupVadim Petrochenkov-1/+0
2020-05-27Use `LintId`s to check for gated lintsLeSeulArtichaut-5/+5
2020-05-27Fix importLeSeulArtichaut-2/+1
2020-05-27Do not hardcode lint nameLeSeulArtichaut-1/+2
2020-05-27Apply suggestions from code reviewLeSeulArtichaut-1/+18
2020-05-25Implement warning for unused dependencies.Jeremy Fitzhardinge-0/+1
2020-05-20introduce newtype'd `Predicate<'tcx>`Bastian Kauschke-4/+6
2020-05-20rename `Predicate` to `PredicateKind`, introduce aliasBastian Kauschke-4/+4
2020-05-17Assume unevaluated consts are equal to the other consts and add ConstEquate o...Ben Lewis-1/+2
2020-05-16Rollup merge of #72045 - RalfJung:incomplete-unsound, r=petrochenkovRalf Jung-6/+14
2020-05-14Rollup merge of #71910 - mibac138:necessary-paren, r=cuviperDylan DPC-4/+20
2020-05-12Remove ty::UnnormalizedProjectionJack Huey-1/+0
2020-05-09expand "incomplete feature" message to include unsoundness and link to tracki...Ralf Jung-6/+14
2020-05-08Remove ast::{Ident, Name} reexports.Camille GILLOT-12/+16
2020-05-06Fix unused_parens nested binary op false positivemibac138-4/+12
2020-05-05Fix unused_parens false positive when using binary operationsmibac138-4/+12
2020-05-04Rollup merge of #71773 - tshepang:links, r=davidtwcoDylan DPC-3/+3
2020-05-03Rollup merge of #71542 - crlf0710:confusable_idents, r=petrochenkovDylan DPC-3/+147
2020-05-03Add a fast code path to optimize `confusable_idents` lint for ASCII code base.Charles Lew-4/+49
2020-05-03Implement `confusable_idents` lint.Charles Lew-3/+102
2020-05-02fix rustdoc warningsTshepang Lekhonkhobe-2/+2
2020-05-01doc: misc rustdoc thingsTshepang Lekhonkhobe-3/+3
2020-04-28Use the query system to allocate.Camille GILLOT-2/+2
2020-04-27Accept `LocalDefId` as key for `lint_mod` querymarmeladema-7/+3
2020-04-24Quick and dirty fix of the unused_braces lintflip1995-1/+7
2020-04-23Address comments from reviewmarmeladema-7/+4
2020-04-23Modify `as_local_hir_id` to return a bare `HirId`marmeladema-8/+5
2020-04-23Modify `as_local_hir_id` to accept a `LocalDefId` instead of a `DefId`marmeladema-6/+17
2020-04-23librustc_middle: return LocalDefId instead of DefId in local_def_idmarmeladema-4/+5
2020-04-23Rollup merge of #71408 - GuillaumeGomez:check-code-blocks-tags, r=kinnisonDylan DPC-1/+3
2020-04-23Create new rustdoc lint to check for code blocks tagsGuillaume Gomez-1/+3
2020-04-22Rollup merge of #71412 - dtolnay:uselessdoc, r=ManishearthDylan DPC-1/+1
2020-04-21Clarify unused_doc_comments note on macro invocationsDavid Tolnay-1/+1
2020-04-20Remove unused dependenciesShotaro Yamada-1/+0
2020-04-19Dogfood more or_patterns in the compilerJosh Stone-10/+11
2020-04-14cleanup `is_expr_delims_necessary`Bastian Kauschke-1/+1
2020-04-13Remove usage of `DUMMY_HIR_ID` in some visitorsmarmeladema-9/+9
2020-04-10librustc_middle: return LocalDefId instead of DefId in body_owner_def_idmarmeladema-1/+1
2020-04-07remove false positives of unused_bracesBastian Kauschke-3/+23
2020-04-06ty: switch `Ty::walk` from `Ty` to `GenericArg`.Eduard-Mihai Burtescu-5/+8
2020-04-05Stop importing int/float modules in librustc_*Linus Färnstrand-1/+0
2020-04-02nix rustc_target::abi::* reexport in ty::layoutMazdak Farrokhzad-6/+9
2020-04-01Rollup merge of #70081 - lcnr:issue68387, r=varkorDylan DPC-129/+371
2020-03-31update unused_braces wordingBastian Kauschke-12/+11
2020-03-30Use if let instead of match when only matching a single variant (clippy::sing...Matthias Krüger-58/+41
2020-03-30rustc -> rustc_middle part 3 (rustfmt)Mazdak Farrokhzad-12/+12
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-37/+36
2020-03-30rustc -> rustc_middle part 1Mazdak Farrokhzad-2/+2