summary refs log tree commit diff
path: root/compiler/rustc_lint/src/builtin.rs
AgeCommit message (Expand)AuthorLines
2022-12-27Switch `#[track_caller]` back to a no-op unless feature gate is enabledBryan Garza-1/+71
2022-12-04drive-by: move field_index to typeck resultsMichael Goulet-1/+1
2022-11-29Make inferred_outlives_crate return ClauseSantiago Pastorino-12/+8
2022-11-27Auto merge of #103917 - oli-obk:layout_math, r=RalfJung,lcnrbors-63/+97
2022-11-26Rollup merge of #104786 - WaffleLapkin:amp-mut-help, r=compiler-errorsGuillaume Gomez-2/+2
2022-11-25Use "must be init" instead of "must not be uninit" everywhereOli Scherer-5/+3
2022-11-25Add a `because` to errors derived from fieldsOli Scherer-22/+21
2022-11-25Don't show fields from other cratesOli Scherer-1/+3
2022-11-25Reinstate the previous compact form of "in this field" errorsOli Scherer-4/+12
2022-11-25Don't try to compute the layout of generic types.Oli Scherer-23/+23
2022-11-25Compute layout instead of manually procesisng the layout restriction attributesOli Scherer-31/+36
2022-11-25Print a trace through types to show how to get to the problematic typeOli Scherer-42/+64
2022-11-25Introduce PredicateKind::ClauseSantiago Pastorino-8/+13
2022-11-23Depend on `Mutability` orderingMaybe Waffle-2/+2
2022-11-22Rollup merge of #103488 - oli-obk:impl_trait_for_tait, r=lcnrManish Goregaokar-0/+1
2022-11-22Split `MacArgs` in two.Nicholas Nethercote-2/+2
2022-11-21Add an always-ambiguous predicate to make sure that we don't accidentlally al...Oli Scherer-0/+1
2022-11-17Auto merge of #104170 - cjgillot:hir-def-id, r=fee1-deadbors-8/+5
2022-11-16Use `token::Lit` in `ast::ExprKind::Lit`.Nicholas Nethercote-3/+4
2022-11-13Store a LocalDefId in hir::Variant & hir::Field.Camille GILLOT-8/+5
2022-10-31Rollup merge of #103338 - l4l:enum-unreachable-pub, r=nagisaDylan DPC-2/+6
2022-10-29Rollup merge of #103625 - WaffleLapkin:no_tyctxt_dogs_allowed, r=compiler-errorsGuillaume Gomez-1/+1
2022-10-29Rename some `OwnerId` fields.Nicholas Nethercote-31/+31
2022-10-27Accept `TyCtxt` instead of `TyCtxtAt` in `Ty::is_*` functionsMaybe Waffle-1/+1
2022-10-26privacy: Rename "accessibility levels" to "effective visibilities"Vadim Petrochenkov-4/+5
2022-10-23Rollup merge of #103402 - joshtriplett:niche-wrap-fix, r=oli-obkMichael Howell-1/+4
2022-10-23Migrate all diagnosticsNilstrieb-87/+73
2022-10-23Auto merge of #102660 - camsteffen:uninhabited-perf, r=oli-obkbors-41/+5
2022-10-23Fix wrapped valid-range handling in ty_find_init_errorJosh Triplett-1/+4
2022-10-22Introduce InhabitedPredicateCameron Steffen-41/+5
2022-10-21Fix unreachable_pub suggestion for enum with fieldsKitsu-2/+6
2022-10-19Fixup a few tests needing asm supportJosh Stone-0/+1
2022-10-14more dupe word typosRageking8-1/+1
2022-10-01Refactor rustc lint APIMaybe Waffle-282/+341
2022-09-29Use let-chaining in `WhileTrue::check_expr`.Nicholas Nethercote-24/+22
2022-09-27also query type_uninhabited_fromRalf Jung-3/+11
2022-09-26make invalid_value lint a bit smarter around enumsRalf Jung-51/+109
2022-09-24separate definitions and `HIR` ownersTakayuki Maeda-14/+14
2022-09-12Remove unused argument from `check_mac_def`.Nicholas Nethercote-1/+1
2022-09-12Remove `path_span` argument to the `visit_path_segment` methods.Nicholas Nethercote-1/+1
2022-09-06Auto merge of #101241 - camsteffen:refactor-binding-annotations, r=cjgillotbors-11/+2
2022-09-05separate the receiver from arguments in HIRTakayuki Maeda-2/+2
2022-09-02Refactor and re-use BindingAnnotationCameron Steffen-11/+2
2022-09-02Add warning against unexpected --cfg with --check-cfgUrgau-0/+36
2022-09-01Rollup merge of #94467 - ibraheemdev:master, r=pnkfelixMatthias Krüger-0/+78
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer-1/+0
2022-08-30Auto merge of #98919 - 5225225:stricter-invalid-value, r=RalfJungbors-0/+9
2022-08-29Rollup merge of #99821 - cjgillot:ast-lifetimes-2, r=compiler-errorsDylan DPC-6/+13
2022-08-26Make invalid-value trigger on uninit primitives5225225-0/+9
2022-08-23cleanup: commented lintsRejyr-3/+0