diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2023-11-21 09:06:30 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-21 09:06:30 +0100 |
| commit | 90e4c2dc3af9ae8196fe88fa3b61addde1247b08 (patch) | |
| tree | ebdf301f40e9fe96d507412bcddfbadec2b16536 /compiler/rustc_trait_selection | |
| parent | 69a5a893e4a9fb0740660e1e1296ad86eab9b447 (diff) | |
| parent | 8cf94c955f2aca6f5987d82b280616c60317803c (diff) | |
| download | rust-90e4c2dc3af9ae8196fe88fa3b61addde1247b08.tar.gz rust-90e4c2dc3af9ae8196fe88fa3b61addde1247b08.zip | |
Rollup merge of #118115 - spastorino:fix-old-fn-names, r=compiler-errors
Fix occurrences of old fn names in comment and tracing
Diffstat (limited to 'compiler/rustc_trait_selection')
| -rw-r--r-- | compiler/rustc_trait_selection/src/traits/coherence.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/coherence.rs b/compiler/rustc_trait_selection/src/traits/coherence.rs index e6e05d0adc6..9119792e324 100644 --- a/compiler/rustc_trait_selection/src/traits/coherence.rs +++ b/compiler/rustc_trait_selection/src/traits/coherence.rs @@ -1010,7 +1010,7 @@ impl<'a, 'tcx> ProofTreeVisitor<'tcx> for AmbiguityCausesVisitor<'a> { let Goal { param_env, predicate } = goal.goal(); - // For bound predicates we simply call `infcx.replace_bound_vars_with_placeholders` + // For bound predicates we simply call `infcx.instantiate_binder_with_placeholders` // and then prove the resulting predicate as a nested goal. let trait_ref = match predicate.kind().no_bound_vars() { Some(ty::PredicateKind::Clause(ty::ClauseKind::Trait(tr))) => tr.trait_ref, |
