about summary refs log tree commit diff
path: root/compiler/rustc_passes/src
AgeCommit message (Expand)AuthorLines
2024-01-04Replace a number of FxHashMaps/Sets with stable-iteration-order alternatives.Michael Woerister-8/+9
2023-12-30is_coroutine -> is_coroutine_or_closureMichael Goulet-1/+1
2023-12-29Rollup merge of #119402 - est31:fix_if_guard_unused, r=compiler-errorsMatthias Krüger-0/+3
2023-12-29Also walk bindings created by if-let guardsest31-0/+3
2023-12-28Use `Pat::walk_always` instead of manual walkNilstrieb-29/+6
2023-12-27move walk_expr outside of every match branchzetanumbers-8/+2
2023-12-26Rollup merge of #119297 - cjgillot:issue-119267, r=petrochenkovMichael Goulet-62/+46
2023-12-26Auto merge of #119258 - compiler-errors:closure-kind, r=eholkbors-10/+9
2023-12-25Only regular coroutines have movabilityMichael Goulet-7/+4
2023-12-25Make closures carry their own ClosureKind, rather than deducing what it is fr...Michael Goulet-10/+12
2023-12-25Pass DeadItem and lint as consistent group in dead-code.Camille GILLOT-62/+46
2023-12-24Remove more `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-1/+1
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-153/+168
2023-12-22Auto merge of #119097 - nnethercote:fix-EmissionGuarantee, r=compiler-errorsbors-46/+28
2023-12-19Add `level` arg to `into_diagnostic`.Nicholas Nethercote-46/+28
2023-12-18Replace some instances of FxHashMap/FxHashSet with stable alternatives (mostl...Michael Woerister-3/+0
2023-12-18Rename many `DiagCtxt` arguments.Nicholas Nethercote-10/+10
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-5/+5
2023-12-15Fix enforcement of generics for associated itemsMichael Goulet-19/+27
2023-12-15banish hir::GenericBound::LangItemTraitMichael Goulet-1/+1
2023-12-15Collect lang items from ASTMichael Goulet-155/+245
2023-12-13Auto merge of #118870 - Enselic:rustc_passes-query-stability, r=compiler-errorsbors-1/+10
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-22/+21
2023-12-12rustc_passes: Enforce `rustc::potential_query_instability` lintMartin Nordholts-1/+10
2023-12-05Remove `#[rustc_host]`, use internal desugaringDeadbeef-2/+7
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-2/+2
2023-11-29Rollup merge of #118157 - Nadrieril:never_pat-feature-gate, r=compiler-errorsMatthias Krüger-1/+16
2023-11-29Add `never_patterns` feature gateNadrieril-1/+16
2023-11-28Yeet E0744Michael Goulet-14/+4
2023-11-26rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` cle...Vadim Petrochenkov-14/+12
2023-11-26Use `rustc_fluent_macro::fluent_messages!` directly.Nicholas Nethercote-2/+1
2023-11-26Avoid need for `{D,Subd}iagnosticMessage` imports.Nicholas Nethercote-1/+0
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-104/+104
2023-11-20Store feature stability un-splitMichael Goulet-31/+23
2023-11-20Unify defined_lib_features and lib_features queriesMichael Goulet-44/+48
2023-11-15Re-format code with new rustfmtMark Rousskov-1/+4
2023-11-15Bump cfg(bootstrap)sMark Rousskov-3/+3
2023-11-14Fix some typoscui fliter-1/+1
2023-11-04Remove support for compiler plugins.Nicholas Nethercote-16/+0
2023-10-31Enums in offset_of: update based on est31, scottmcm & llogiq reviewGeorge Bateman-20/+5
2023-10-31Support enum variants in offset_of!George Bateman-7/+22
2023-10-31Auto merge of #117377 - dtolnay:deprecatedsince, r=cjgillotbors-50/+15
2023-10-30Add method for checking if deprecation is a rustc versionDavid Tolnay-8/+2
2023-10-30Represent absence of 'since' attribute as a variant of DeprecatedSinceDavid Tolnay-2/+2
2023-10-30Fix #117284, Fix unused variables lint issue for args in macroyukang-11/+35
2023-10-29Delete unused InvalidDeprecationVersion diagnosticDavid Tolnay-10/+0
2023-10-29Store version of `deprecated` attribute in structured formDavid Tolnay-34/+15
2023-10-29Rename Since -> StableSince in preparation for a DeprecatedSinceDavid Tolnay-4/+4
2023-10-29Auto merge of #116447 - oli-obk:gen_fn, r=compiler-errorsbors-2/+2
2023-10-27Add gen blocks to ast and do some broken ast loweringOli Scherer-2/+2