summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/check
AgeCommit message (Expand)AuthorLines
2024-03-04Improve wording of static_mut_refObei Sideg-18/+10
2024-01-31Auto merge of #120346 - petrochenkov:ownodes, r=oli-obkbors-2/+2
2024-01-30hir: Remove `hir::Map::{owner,expect_owner}`Vadim Petrochenkov-2/+2
2024-01-30Apply suggestions from reviewMichael Goulet-1/+1
2024-01-30Deeply normalize when processing registered region obligationsMichael Goulet-0/+5
2024-01-30No need to pass region bound pairs to resolve_regions_with_wf_tysMichael Goulet-22/+14
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-6/+6
2024-01-25Auto merge of #119911 - NCGThompson:is-statically-known, r=oli-obkbors-0/+2
2024-01-23Rollup merge of #120270 - compiler-errors:randos, r=lcnrLeón Orell Valerian Liehr-1/+1
2024-01-23Random type checker changesMichael Goulet-1/+1
2024-01-23Rename `TyCtxt::emit_spanned_lint` as `TyCtxt::emit_node_span_lint`.Nicholas Nethercote-2/+2
2024-01-23Rename `TyCtxt::struct_span_lint_hir` as `TyCtxt::node_span_lint`.Nicholas Nethercote-4/+4
2024-01-22Tweak error counting.Nicholas Nethercote-1/+1
2024-01-21Auto merge of #120100 - oli-obk:astconv_lifetimes, r=BoxyUwUbors-1/+1
2024-01-19Add new intrinsic `is_constant` and optimize `pow`Catherine Flores-0/+2
2024-01-18Auto merge of #120089 - matthiaskrgr:rollup-xyfqrb5, r=matthiaskrgrbors-1/+2
2024-01-18Don't forget that the lifetime on hir types is `'tcx`Oli Scherer-1/+1
2024-01-18Rollup merge of #119967 - ShE3py:patkind-err, r=WaffleLapkinMatthias Krüger-1/+2
2024-01-17Add -Zno-implied-bounds-compat option and use itJack Huey-11/+17
2024-01-17Correctly handle normalization in implied boundsAli MJ Al-Nasrawy-10/+58
2024-01-17Add `PatKind::Err`Lieselotte-1/+2
2024-01-14Rework how diagnostic lints are stored.Nicholas Nethercote-2/+2
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-4/+4
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-37/+35
2024-01-10Add `DiagCtxt::delayed_bug`.Nicholas Nethercote-25/+10
2024-01-10Shorten some error invocations.Nicholas Nethercote-4/+4
2024-01-10Rename `struct_span_err!` as `struct_span_code_err!`.Nicholas Nethercote-41/+53
2024-01-09Rollup merge of #117556 - obeis:static-mut-ref-lint, r=davidtwcoGuillaume Gomez-0/+104
2024-01-08Only compute layout of opaque if coroutine is the cause of an opaque cycleMichael Goulet-9/+26
2024-01-08Don't check for recursion in generator witness fieldsMichael Goulet-18/+7
2024-01-08Remove all eight `DiagnosticBuilder::*_with_code` methods.Nicholas Nethercote-2/+2
2024-01-08Use chaining for `DiagnosticBuilder` construction and `emit`.Nicholas Nethercote-62/+71
2024-01-08Use chaining in `DiagnosticBuilder` construction.Nicholas Nethercote-4/+2
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-22/+22
2024-01-06Call `maybe_stmt_static_mut` inside `resolve_stmt`Obei Sideg-1/+3
2024-01-06Call `maybe_expr_static_mut` inside `resolve_expr`Obei Sideg-0/+4
2024-01-06Disallow reference to `static mut` for statementsObei Sideg-0/+19
2024-01-06Disallow reference to `static mut` for expressionsObei Sideg-0/+79
2024-01-05Auto merge of #119634 - matthiaskrgr:rollup-v2xt7et, r=matthiaskrgrbors-1/+11
2024-01-05Auto merge of #119192 - michaelwoerister:mcp533-push, r=cjgillotbors-3/+3
2024-01-05Restore if let guard temporary scoping differenceMatthew Jasper-2/+11
2024-01-05Remove `hir::Guard`Matthew Jasper-1/+2
2024-01-04Make iteration order of collect_return_position_impl_trait_in_trait_tys query...Michael Woerister-3/+3
2024-01-02Merge check_for_entry_fn fully into check_mod_type_wfOli Scherer-4/+6
2024-01-02Reorder `check_item_type` diagnostics so they occur next to the corresponding...Oli Scherer-22/+12
2024-01-02Refactor `check_item_type` to work on `LocalDefId` instead of `ItemId`Oli Scherer-34/+29
2023-12-28Fix some commentscuishuang-1/+1
2023-12-26Auto merge of #119258 - compiler-errors:closure-kind, r=eholkbors-4/+0
2023-12-26Auto merge of #119146 - nnethercote:rm-DiagCtxt-api-duplication, r=compiler-e...bors-106/+108
2023-12-25Remove unnecessary body_expr_countMichael Goulet-4/+0