diff options
| author | bors <bors@rust-lang.org> | 2025-01-18 12:57:05 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-01-18 12:57:05 +0000 |
| commit | 8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b (patch) | |
| tree | 3e2b687773a2e6cbf7f93e9b754b1dfb6a629395 /compiler/rustc_hir_analysis/src | |
| parent | bd62a452f45c2386275c5469f9ae390e7de2dc6f (diff) | |
| parent | e8736955d188a026bfc69d231158964f37cedad0 (diff) | |
| download | rust-8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b.tar.gz rust-8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b.zip | |
Auto merge of #135678 - matthiaskrgr:rollup-psuyzpn, r=matthiaskrgr
Rollup of 6 pull requests Successful merges: - #134455 (cleanup promoteds move check) - #135421 (Make tidy warn on unrecognized directives) - #135611 (Remove unnecessary assertion for reference error) - #135620 (ci: improve github action name) - #135639 (new solver: prefer trivial builtin impls) - #135654 (add src/librustdoc and src/rustdoc-json-types to RUSTC_IF_UNCHANGED_ALLOWED_PATHS) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_hir_analysis/src')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/check/check.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/check/check.rs b/compiler/rustc_hir_analysis/src/check/check.rs index ec82644ea5b..b0a6922ff72 100644 --- a/compiler/rustc_hir_analysis/src/check/check.rs +++ b/compiler/rustc_hir_analysis/src/check/check.rs @@ -1637,7 +1637,6 @@ fn check_type_alias_type_params_are_used<'tcx>(tcx: TyCtxt<'tcx>, def_id: LocalD let ty = tcx.type_of(def_id).instantiate_identity(); if ty.references_error() { // If there is already another error, do not emit an error for not using a type parameter. - assert!(tcx.dcx().has_errors().is_some()); return; } |
