summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2021-02-05Rename `panic_fmt` lint to `non_fmt_panic`.Mara Bos-5/+6
2021-02-04Rollup merge of #81556 - nikomatsakis:forbidden-lint-groups-lint, r=pnkfelixMara Bos-28/+88
2020-12-25Rollup merge of #80274 - pierwill:lintlevelsource, r=petrochenkovDylan DPC-10/+12
2020-12-22Auto merge of #78242 - Nadrieril:rename-overlapping_endpoints-lint, r=varkorbors-1/+1
2020-12-21Document rustc_middle::lint::LevelSourcepierwill-1/+3
2020-12-21Rename rustc_middle::lint::LintSourcepierwill-10/+10
2020-12-11Move binder for dyn to each list itemJack Huey-3/+5
2020-12-08don't create owned values for comparison (clippy::cmp_owned)Matthias Krüger-3/+3
2020-12-03Only deny doc_keyword in std and set it as "allow" by defaultGuillaume Gomez-1/+1
2020-12-03Add lint pass for doc keywordGuillaume Gomez-1/+48
2020-12-02Auto merge of #78864 - Mark-Simulacrum:warn-on-forbids, r=pnkfelixbors-49/+21
2020-11-29`overlapping_range_endpoints` does not belong in the `unused` lint groupNadrieril-1/+0
2020-11-29Rename the `overlapping_patterns` lint to `overlapping_range_endpoints`Nadrieril-1/+2
2020-11-28Cleanup: shorter and faster codeAleksey Kladov-2/+2
2020-11-27Don't lint on redundant semicolons after item statementsAaron Hill-3/+18
2020-11-26Fix new 'unnecessary trailing semicolon' warningsAaron Hill-2/+2
2020-11-24Move lev_distance to rustc_ast, make non-genericArlie Davis-2/+2
2020-11-21More consistently use spaces after commas in lists in docsCarol (Nichols || Goulding)-1/+1
2020-11-21Auto merge of #77805 - JohnTitor:non-standard-char-sugg, r=Dylan-DPCbors-19/+35
2020-11-14Use true previous lint level when detecting overriden forbidsMark Rousskov-49/+21
2020-11-09Rollup merge of #78710 - petrochenkov:macvisit, r=davidtwcoDylan DPC-8/+2
2020-11-05Rename lint to non_autolinksGuillaume Gomez-2/+2
2020-11-05Rename automatic_links to url_improvementsGuillaume Gomez-3/+3
2020-11-05Add new lint for automatic_links improvementsGuillaume Gomez-1/+2
2020-11-04`u128` truncation and sign extension are not just interpreter relatedoli-3/+2
2020-11-03rustc_ast: `visit_mac` -> `visit_mac_call`Vadim Petrochenkov-1/+1
2020-11-03rustc_ast: Do not panic by default when visiting macro callsVadim Petrochenkov-7/+1
2020-11-03Rollup merge of #78663 - Aaron1011:fix/cap-future-compat, r=tmandryYuki Okushi-4/+5
2020-11-02Treat trailing semicolon as a statement in macro callAaron Hill-0/+5
2020-11-02Fix ICE when a future-incompat-report has its command-line level cappedAaron Hill-4/+5
2020-11-01Auto merge of #75534 - Aaron1011:feature/new-future-breakage, r=pnkfelixbors-5/+22
2020-10-30Implement rustc side of report-future-incompatAaron Hill-5/+22
2020-10-30Auto merge of #78182 - LeSeulArtichaut:ty-visitor-contolflow, r=lcnr,oli-obkbors-3/+9
2020-10-30Fix some more clippy warningsJoshua Nelson-32/+22
2020-10-30Remove implicit `Continue` typeLeSeulArtichaut-1/+1
2020-10-30TypeVisitor: use `ControlFlow` in rustc_{infer,lint,trait_selection}LeSeulArtichaut-3/+9
2020-10-29Improve panic_fmt lint messages.Mara Bos-5/+5
2020-10-29Rollup merge of #78431 - Rustin-Liu:rustin-patch-lint, r=estebankJonas Schievink-1/+1
2020-10-29Rollup merge of #78244 - workingjubilee:dogfood-fancy-ranges, r=varkorJonas Schievink-3/+5
2020-10-28Dogfood {exclusive,half-open} ranges in compiler (nfc)Jubilee Young-3/+5
2020-10-28Mark panic_fmt suggestion as machine applicable.Mara Bos-1/+1
2020-10-27Prefer new associated numeric consts in float error messagesRustin-Liu-1/+1
2020-10-26Fix doctestNathan Whitaker-0/+1
2020-10-26Write docs for lint / fix review nitNathan Whitaker-2/+20
2020-10-26Address review commentsNathan Whitaker-11/+8
2020-10-26Change to warn by default / fix typoNathan Whitaker-1/+1
2020-10-26Tweak diagnosticNathan Whitaker-4/+6
2020-10-26Address review commentsNathan Whitaker-49/+35
2020-10-26Uplift temporary-cstring-as-ptr into rustcNathan Whitaker-0/+105
2020-10-24Fix inconsistencies in handling of inert attributes on statementsAaron Hill-9/+33