about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/builtin.rs
AgeCommit message (Expand)AuthorLines
2021-02-27Combine HasAttrs and HasTokens into AstLikeAaron Hill-1/+1
2021-02-15Only store a LocalDefId in hir::ForeignItem.Camille GILLOT-15/+10
2021-02-15Only store a LocalDefId in hir::ImplItem.Camille GILLOT-6/+5
2021-02-15Only store a LocalDefId in hir::TraitItem.Camille GILLOT-5/+4
2021-02-15Only store a LocalDefId in hir::Item.Camille GILLOT-24/+21
2021-02-09Rollup merge of #72209 - Nemo157:lint-no-mangle-in-unsafe-code, r=nikomatsakisDylan DPC-0/+46
2021-02-01Box the biggest ast::ItemKind variantsDániel Buga-9/+7
2021-01-28Use symbol interning to avoid string alloc.jumbatm-4/+4
2021-01-21Account for labels when suggesting `loop` instead of `while true`Esteban Küber-3/+9
2021-01-16Review changesJack Huey-6/+6
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-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-02reduce borrowing and (de)referencing around match patterns (clippy::match_ref...Matthias Krüger-2/+2
2020-12-30Rename kw::Invalid -> kw::EmptyJoshua Nelson-1/+1
2020-12-26stabilize min_const_genericsBastian Kauschke-1/+1
2020-11-26Fix new 'unnecessary trailing semicolon' warningsAaron Hill-1/+1
2020-10-30Implement rustc side of report-future-incompatAaron Hill-1/+0
2020-10-30Fix some more clippy warningsJoshua Nelson-9/+7
2020-10-24Fix inconsistencies in handling of inert attributes on statementsAaron Hill-1/+2
2020-10-18Auto merge of #78066 - bugadani:wat, r=jonas-schievinkbors-1/+1
2020-10-18Replace unnecessary map_or_else with map_orDániel Buga-1/+1
2020-10-17Suggest minimal subset features in `incomplete_features` lintYuki Okushi-0/+8
2020-09-22lint missing docs for extern itemsBastian Kauschke-0/+13
2020-09-20Rollup merge of #76910 - lcnr:foreign-item-like, r=oli-obkRalf Jung-8/+1
2020-09-20Rollup merge of #76890 - matthiaskrgr:matches_simpl, r=lcnrRalf Jung-6/+7
2020-09-20Auto merge of #74949 - oli-obk:validate_const_eval_raw, r=RalfJungbors-9/+7
2020-09-19Rollup merge of #75099 - davidtwco:is-zst-abstraction-violation, r=eddybRalf Jung-3/+3
2020-09-19transmute: use diagnostic itemBastian Kauschke-8/+1
2020-09-19Reflect the "do not call this query directly" mentality in its nameOliver Scherer-0/+1
2020-09-19Stop using the `const_eval` query for initializers of staticsOliver Scherer-9/+6
2020-09-18use matches!() macro for simple if let conditionsMatthias Krüger-6/+7
2020-09-15don't lazily evaulate some trivial values for Option::None replacements (clip...Matthias Krüger-1/+1
2020-09-14Auto merge of #76549 - ehuss:lints-comments, r=wesleywiserbors-0/+504
2020-09-13Auto-generate lint documentation.Eric Huss-0/+504
2020-09-09Remove def_id field from ParamEnvBram van den Heuvel-1/+2
2020-09-04Change ty.kind to a methodLeSeulArtichaut-7/+7
2020-09-03rustc_lint: avoid trimmed paths for ty_find_init_errorDan Aloni-1/+4
2020-08-30Update for moved function from #74932Wim Looman-4/+4
2020-08-30Point to no_mangle/export_name attribute when lintingWim Looman-8/+8
2020-08-30Add note about why no_mangle and export_name are unsafeWim Looman-12/+32
2020-08-30Scope no_mangle and export_name warnings to the declarations nameWim Looman-4/+4
2020-08-30Add checking for export_name to unsafe_code lintWim Looman-0/+10
2020-08-30Add checking for no_mangle to unsafe_code lintWim Looman-0/+16
2020-08-30lint/ty: move fns to avoid abstraction violationDavid Wood-3/+3
2020-08-30mv compiler to compiler/mark-0/+2422