about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2021-01-13Auto merge of #79322 - jyn514:refactor-impl, r=estebankbors-1/+1
2021-01-12Separate out a `hir::Impl` structJoshua Nelson-1/+1
2021-01-11Rename `rustc_middle::lint::LevelSource` to `LevelAndSource`pierwill-3/+3
2021-01-12Add FIXME note about storing &'tcx strjumbatm-0/+5
2021-01-12Remove unnecessary allocation.jumbatm-4/+4
2021-01-12Use tcx.symbol_name to check for clashes.jumbatm-7/+9
2021-01-10Auto merge of #79414 - sasurau4:feature/add-suggestion-for-pattern-in-fns-wit...bors-0/+3
2021-01-03Rollup merge of #80628 - matthiaskrgr:match_ref_pats, r=varkorGuillaume Gomez-7/+7
2021-01-02reduce borrowing and (de)referencing around match patterns (clippy::match_ref...Matthias Krüger-7/+7
2021-01-02Add snake case lint note about keyword identifiers which cannot be rawSkynoodle-0/+1
2021-01-01Add suggestion to use raw identifiers when fixing snake-case lintsSkynoodle-2/+16
2020-12-31Auto merge of #80500 - jyn514:track-caller, r=nagisabors-0/+1
2020-12-30Rollup merge of #80495 - jyn514:rename-empty, r=petrochenkovMara Bos-2/+2
2020-12-30Rename kw::Invalid -> kw::EmptyJoshua Nelson-2/+2
2020-12-29Add `#[track_caller]` to `bug!` and `register_renamed`Joshua Nelson-0/+1
2020-12-29Lint on redundant trailing semicolon after itemAaron Hill-17/+3
2020-12-26stabilize min_const_genericsBastian Kauschke-1/+1
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-21add suggest for PatternsInWithoutBodyDaiki Ihara-0/+3
2020-12-12Add 'consider using' message to overflowing_literalsCamelid-12/+17
2020-12-11Move binder for dyn to each list itemJack Huey-3/+5
2020-12-10Types with a hidden niche are not known to be non-nullTomasz Miąsko-1/+7
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