diff options
| author | Jubilee <workingjubilee@gmail.com> | 2024-10-29 03:11:40 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-29 03:11:40 -0700 |
| commit | e97286e7389794e2bfc45a3c3702aa932b725d99 (patch) | |
| tree | 7212101652f5045358d1be5dc3493f50a2c4016a /compiler/rustc_hir_analysis/src/errors.rs | |
| parent | b496974c5363044ae134722aeaa4d0ae89de74c0 (diff) | |
| parent | 8b7b8e5f56de007ee2be204755881e920659b7b0 (diff) | |
| download | rust-e97286e7389794e2bfc45a3c3702aa932b725d99.tar.gz rust-e97286e7389794e2bfc45a3c3702aa932b725d99.zip | |
Rollup merge of #132119 - compiler-errors:effects-old-solver, r=lcnr
Hack out effects support for old solver Opening this for vibes ✨ Turns out that a basic, somewhat incomplete implementation of host effects is achievable in the old trait solver pretty easily. This should be sufficient for us to use in the standard library itself. Regarding incompleteness, maybe we should always treat host predicates as ambiguous in intercrate mode (at least in the old solver) to avoid any worries about accidental impl overlap or something. r? ```@lcnr``` cc ```@fee1-dead```
Diffstat (limited to 'compiler/rustc_hir_analysis/src/errors.rs')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/errors.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_hir_analysis/src/errors.rs b/compiler/rustc_hir_analysis/src/errors.rs index 77e81af3ca9..7fa9dfe346d 100644 --- a/compiler/rustc_hir_analysis/src/errors.rs +++ b/compiler/rustc_hir_analysis/src/errors.rs @@ -1624,12 +1624,6 @@ pub(crate) struct InvalidReceiverTy<'tcx> { } #[derive(Diagnostic)] -#[diag(hir_analysis_effects_without_next_solver)] -#[note] -#[help] -pub(crate) struct EffectsWithoutNextSolver; - -#[derive(Diagnostic)] #[diag(hir_analysis_cmse_inputs_stack_spill, code = E0798)] #[note] pub(crate) struct CmseInputsStackSpill { |
