about summary refs log tree commit diff
path: root/src/librustc_lint
AgeCommit message (Expand)AuthorLines
2020-07-15Auto merge of #74175 - nnethercote:more-static-symbols, r=oli-obkbors-2/+5
2020-07-15Remove lots of `Symbol::as_str()` calls.Nicholas Nethercote-2/+5
2020-07-14lint: use `transparent_newtype_field` to avoid ICEDavid Wood-16/+16
2020-07-10Avoid "whitelist"Tamir Duberstein-2/+2
2020-07-09Rollup merge of #74070 - eddyb:forall-tcx-providers, r=nikomatsakisManish Goregaokar-2/+2
2020-07-09Auto merge of #74131 - ollie27:rustdoc_invalid_codeblock_attributes_name, r=G...bors-2/+2
2020-07-07rustdoc: Rename invalid_codeblock_attribute lint to be pluralOliver Middleton-2/+2
2020-07-05Use for<'tcx> fn pointers in Providers, instead of having Providers<'tcx>.Eduard-Mihai Burtescu-2/+2
2020-07-03Use 'tcx for references to AccessLevels wherever possible.Eduard-Mihai Burtescu-144/+134
2020-07-02rustc_lint: avoid using TypeckTables::empty for LateContext.Eduard-Mihai Burtescu-21/+34
2020-06-30change `skip_binder` to use T by valueBastian Kauschke-1/+1
2020-06-28Rollup merge of #73817 - jumbatm:rename-to-clashing-extern-declarations, r=pe...Manish Goregaokar-10/+10
2020-06-27Rollup merge of #73758 - davidtwco:issue-60855-remaining-reveal-all, r=matthe...Manish Goregaokar-62/+66
2020-06-28Rename the lint to clashing_extern_declarations.jumbatm-10/+10
2020-06-26improper_ctypes: fix remaining `Reveal:All`David Wood-62/+66
2020-06-26Auto merge of #73743 - eddyb:lint-on-demand-typeck-tables, r=Manishearthbors-35/+80
2020-06-25Rollup merge of #72770 - crlf0710:mixed_script_confusable, r=ManishearthManish Goregaokar-130/+226
2020-06-26rustc_lint: only query `typeck_tables_of` when a lint needs it.Eduard-Mihai Burtescu-35/+80
2020-06-26Implement mixed script confusable lint.Charles Lew-3/+126
2020-06-24improper_ctypes: only allow params in defns modeDavid Wood-2/+8
2020-06-24improper_ctypes: allow pointers to sized typesDavid Wood-1/+10
2020-06-24lints: add `improper_ctypes_definitions`David Wood-27/+83
2020-06-23Refactor non_ascii_idents lints, exclude ascii pair for confusable_idents lint.Charles Lew-131/+104
2020-06-21Make is_freeze and is_copy_modulo_regions take TyCtxtAtRalf Jung-1/+1
2020-06-21Auto merge of #70946 - jumbatm:clashing-extern-decl, r=nagisabors-5/+228
2020-06-20lint: normalize projections using opaque typesDavid Wood-8/+19
2020-06-20Add ClashingExternDecl lint.jumbatm-5/+228
2020-06-19Rollup merge of #73300 - crlf0710:crate_level_only_check, r=petrochenkovManish Goregaokar-7/+51
2020-06-19Rollup merge of #73257 - davidtwco:issue-73249-improper-ctypes-projection, r=...Manish Goregaokar-136/+104
2020-06-19ty: simplify `transparent_newtype_field`David Wood-1/+1
2020-06-19lint: unify enum variant, union and struct logicDavid Wood-125/+82
2020-06-19lint: prohibit fields with opaque typesDavid Wood-14/+25
2020-06-19Rollup merge of #72497 - RalfJung:tag-term, r=oli-obkRalf Jung-7/+7
2020-06-18Implement crate level only lints checking.Charles Lew-7/+51
2020-06-15make all uses of ty::Error or ConstKind::Error delay a span bugmark-1/+1
2020-06-15Auto merge of #72080 - matthewjasper:uniform-impl-trait, r=nikomatsakisbors-0/+4
2020-06-12Rollup merge of #72906 - lzutao:migrate-numeric-assoc-consts, r=dtolnayDylan DPC-12/+12
2020-06-11Rollup merge of #73182 - Aaron1011:feature/call-fn-span, r=matthewjasperDylan DPC-3/+3
2020-06-11Rename `TyKind::Def` to `OpaqueDef`Matthew Jasper-1/+1
2020-06-11Stop special casing top level TAITMatthew Jasper-0/+4
2020-06-10Track span of function in method calls, and use this in #[track_caller]Aaron Hill-3/+3
2020-06-10Migrate to numeric associated constsLzu Tao-12/+12
2020-06-09lint: transitive FFI-safety for transparent typesDavid Wood-30/+39
2020-06-09lint: check for unit ret type after normalizationDavid Wood-10/+21
2020-06-05properly handle feature gated lintsJoey Hain-14/+15
2020-05-30tag/niche terminology cleanupRalf Jung-7/+7
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