about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/builtin.rs
AgeCommit message (Expand)AuthorLines
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
2023-01-23fix: use LocalDefId instead of HirId in trait resVincenzo Palazzo-1/+1
2023-01-20fix overlapping spans for `explicit_outlives_requirements` in macrosLukas Markeffsky-7/+30
2023-01-13Check ADT fields for copy implementations considering regionsMichael Goulet-8/+10
2023-01-09refactor: cleanupRejyr-7/+1
2023-01-09migrate: rest of `builtin.rs` without `builtin_asm_labels`Rejyr-175/+120
2023-01-09migrate: `UnsafeCode` in `builtin.rs`Rejyr-82/+22
2023-01-09refactor: refactor to derive for some lints.Rejyr-6/+10
2023-01-09migrate(wip): `builtin.rs`Rejyr-228/+120
2023-01-04get_parent and find_parentMichael Goulet-1/+1
2023-01-04rename get_parent_node to parent_idMichael Goulet-1/+1
2023-01-03fix dupe word typosRageking8-1/+1
2022-12-26address review comments + better testsLukas Markeffsky-51/+63
2022-12-22Fix `explicit_outlives_requirements` lint in macrosLukas Markeffsky-20/+30
2022-12-21Improve code based on feedback.Bryan Garza-16/+10
2022-12-21Add lint doc commentBryan Garza-1/+20
2022-12-21Update track_caller logic/lint after rebaseBryan Garza-4/+12
2022-12-21update wording of lintBryan Garza-1/+1
2022-12-21Update code based on PR commentsBryan Garza-3/+9
2022-12-21Switch `#[track_caller]` back to a no-op unless feature gate is enabledBryan Garza-1/+44
2022-12-18don't clone Copy typesMatthias Krüger-2/+2
2022-12-13Combine projection and opaque into aliasMichael Goulet-2/+2
2022-12-10Auto merge of #105416 - nnethercote:more-linting-tweaks, r=cjgillotbors-0/+3
2022-12-09Rollup merge of #102406 - mejrs:missing_copy, r=wesleywiserMatthias Krüger-1/+31
2022-12-07Inline some hot lint pass functions.Nicholas Nethercote-0/+3
2022-12-04drive-by: move field_index to typeck resultsMichael Goulet-1/+1
2022-11-29Rebasemejrs-7/+2
2022-11-29Update trait checkmejrs-4/+7