diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-03-06 16:41:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-06 16:41:57 +0100 |
| commit | 6240b5496602ba10f28a974d26b7421d4178627f (patch) | |
| tree | f7162c94d33d3c90cb94fae6be346c84b24cf34f /compiler | |
| parent | 9c99a4ca2bf4b1d25034b4fb83907f30ca47a97d (diff) | |
| parent | 1f92c61e733482b08bed894c069a5f2ba38292da (diff) | |
| download | rust-6240b5496602ba10f28a974d26b7421d4178627f.tar.gz rust-6240b5496602ba10f28a974d26b7421d4178627f.zip | |
Rollup merge of #108750 - compiler-errors:aaaaaaaa, r=lcnr
Fix `ObligationCtxt::sub` typo it seems
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/engine.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/engine.rs b/compiler/rustc_trait_selection/src/traits/engine.rs index b20636174ee..62d5e50dbc5 100644 --- a/compiler/rustc_trait_selection/src/traits/engine.rs +++ b/compiler/rustc_trait_selection/src/traits/engine.rs @@ -158,7 +158,7 @@ impl<'a, 'tcx> ObligationCtxt<'a, 'tcx> { self.infcx .at(cause, param_env) .define_opaque_types(true) - .sup(expected, actual) + .sub(expected, actual) .map(|infer_ok| self.register_infer_ok_obligations(infer_ok)) } |
