diff options
| author | bors <bors@rust-lang.org> | 2023-05-26 06:20:21 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-05-26 06:20:21 +0000 |
| commit | be72f2587c91579406117f99fa332383d66b7dcd (patch) | |
| tree | 6fa8c399df1e4f02383ea857aa6470689d50171f /compiler/rustc_middle/src | |
| parent | c86212f9bccb4d5ec625b0607053b067732724ab (diff) | |
| parent | 0a35db5e0d0f855ec9706280cef21fdc8a1f6ce5 (diff) | |
Auto merge of #111918 - compiler-errors:custom-type-ops-err, r=lcnr
Use `ErrorGuaranteed` more in MIR type ops Delay bugs more eagerly and pass them through type op infra instead of delaying them at all the usage-sites. Follow up to: https://github.com/rust-lang/rust/pull/111741#discussion_r1203840588 r? `@lcnr`
Diffstat (limited to 'compiler/rustc_middle/src')
| -rw-r--r-- | compiler/rustc_middle/src/traits/query.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_middle/src/traits/query.rs b/compiler/rustc_middle/src/traits/query.rs index c4f8718754f..eae5a280e11 100644 --- a/compiler/rustc_middle/src/traits/query.rs +++ b/compiler/rustc_middle/src/traits/query.rs @@ -95,8 +95,6 @@ pub type CanonicalTypeOpNormalizeGoal<'tcx, T> = #[derive(Copy, Clone, Debug, HashStable, PartialEq, Eq)] pub struct NoSolution; -pub type Fallible<T> = Result<T, NoSolution>; - impl<'tcx> From<TypeError<'tcx>> for NoSolution { fn from(_: TypeError<'tcx>) -> NoSolution { NoSolution |
