about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/builtin.rs
AgeCommit message (Expand)AuthorLines
2023-06-09Improve document of `unsafe_code` lintEval EXEC-4/+18
2023-06-06Prevent emitting `missing_docs` for `pub extern crate`Guillaume Gomez-2/+6
2023-06-01Rollup merge of #111496 - mpalmer:unreachable-pub-docs, r=pnkfelixMatthias Krüger-4/+8
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-1/+1
2023-05-14Document that `missing_copy_implementations` and `missing_debug_implementatio...Kevin Reid-2/+2
2023-05-14Auto merge of #111425 - Bryanskiy:privacy_ef, r=petrochenkovbors-2/+6
2023-05-12Extra context for unreachable_pub lint (fixes #110922)Matt Palmer-4/+8
2023-05-11refactor: use by-ref TokenTree iterator to avoid a few clonesCaleb Cartwright-4/+4
2023-05-11Populate effective visibilities in rustc_privacyBryanskiy-2/+6
2023-05-08Rollup merge of #109410 - fmease:iat-alias-kind-inherent, r=compiler-errorsMichael Goulet-1/+6
2023-05-07Rollup merge of #111300 - Flying-Toast:while_true_span_condition, r=compiler-...Yuki Okushi-2/+1
2023-05-06delete whitelist and add checks to check_item() for missing_docsJames Dietz-24/+5
2023-05-06Emit while_true lint spanning the entire loop conditionFlying-Toast-2/+1
2023-05-05Improve internal representation of check-cfgUrgau-10/+10
2023-05-04IAT: Introduce AliasKind::InherentLeón Orell Valerian Liehr-1/+6
2023-04-19Add `GenericArgKind::as_{type,const,region}`Maybe Waffle-4/+2
2023-04-18Rollup merge of #110441 - kadiwa4:typos, r=thomccGuillaume Gomez-1/+1
2023-04-17Spelling - compilerJosh Soref-6/+6
2023-04-17typoskadiwa-1/+1
2023-04-04Replace another lock with an append-only vecOli Scherer-1/+1
2023-03-25Refactor: `VariantIdx::from_u32(0)` -> `FIRST_VARIANT`Scott McMurray-3/+2
2023-03-23Auto merge of #109517 - matthiaskrgr:rollup-m3orqzd, r=matthiaskrgrbors-1/+1
2023-03-23Rename AliasEq -> AliasRelateMichael Goulet-1/+1
2023-03-22rustc: Remove unused `Session` argument from some attribute functionsVadim Petrochenkov-14/+13
2023-03-21Use local key in providersMichael Goulet-5/+2
2023-03-20remove bad commentDaniPopes-1/+0
2023-03-20fix ClashingExternDeclarations lint ICEDaniPopes-13/+11
2023-03-03Match unmatched backticks in compiler/ that are part of rustdocest31-1/+1
2023-02-24Use `List::empty()` instead of `mk_substs(&[])`.Nicholas Nethercote-3/+3
2023-02-24Rename many interner functions.Nicholas Nethercote-3/+3
2023-02-22Auto merge of #108340 - eggyal:remove_traversal_trait_aliases, r=oli-obkbors-1/+1
2023-02-22Remove type-traversal trait aliasesAlan Egerton-1/+1
2023-02-22errors: generate typed identifiers in each crateDavid Wood-1/+2
2023-02-18lint: don't suggest assume_init for uninhabited typesy21-1/+7
2023-02-17Add `Clause::ConstArgHasType` variantBoxy-0/+2
2023-02-17Auto merge of #107753 - kylematsuda:type-of, r=BoxyUwUbors-9/+13
2023-02-16remove bound_type_of query; make type_of return EarlyBinder; change type_of i...Kyle Matsuda-13/+11
2023-02-16change usages of type_of to bound_type_ofKyle Matsuda-11/+17
2023-02-17Rollup merge of #107489 - compiler-errors:non_lifetime_binders, r=cjgillotMatthias Krüger-6/+6
2023-02-16Replace some `then`s with some `then_some`sMaybe Waffle-1/+2
2023-02-16`if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)`Maybe Waffle-5/+1
2023-02-16Rename some region-specific stuffMichael Goulet-6/+6
2023-02-14s/eval_usize/eval_target_usize/ for clarityOli Scherer-1/+1
2023-02-10add `AliasEq` to `PredicateKind`Boxy-0/+2
2023-01-31Review changesMaybe Waffle-1/+1
2023-01-30Replace enum `==`s with `match`es where it makes senseMaybe Waffle-20/+21
2023-01-28Auto merge of #107206 - cjgillot:no-h2l-map, r=WaffleLapkinbors-24/+23
2023-01-28Auto merge of #106916 - lukas-code:overlapping-substs, r=estebankbors-7/+30
2023-01-28Remove `HirId -> LocalDefId` map from HIR.Camille GILLOT-13/+12
2023-01-28Take a LocalDefId in hir::Visitor::visit_fn.Camille GILLOT-11/+11