about summary refs log tree commit diff
path: root/src/librustc_lint
AgeCommit message (Expand)AuthorLines
2020-06-25Rollup merge of #72770 - crlf0710:mixed_script_confusable, r=ManishearthManish Goregaokar-130/+226
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
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