diff options
| author | Kyle Matsuda <kyle.yoshio.matsuda@gmail.com> | 2023-04-13 15:16:55 -0600 |
|---|---|---|
| committer | Kyle Matsuda <kyle.yoshio.matsuda@gmail.com> | 2023-04-13 15:55:54 -0600 |
| commit | dcc51f1ef5e19dba1d791e47c0dc07f45b68fa44 (patch) | |
| tree | 68909a32416b11bc2fd79616e4ec6e6abb609e7f /compiler/rustc_trait_selection/src | |
| parent | e4dae0dac76436ada630b519f5fbf0b373bc5974 (diff) | |
| download | rust-dcc51f1ef5e19dba1d791e47c0dc07f45b68fa44.tar.gz rust-dcc51f1ef5e19dba1d791e47c0dc07f45b68fa44.zip | |
change usage of bound_impl_subject to impl_subject
Diffstat (limited to 'compiler/rustc_trait_selection/src')
| -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 3c918b6028d..93e1dfcfaae 100644 --- a/compiler/rustc_trait_selection/src/traits/coherence.rs +++ b/compiler/rustc_trait_selection/src/traits/coherence.rs @@ -306,7 +306,7 @@ fn negative_impl(tcx: TyCtxt<'_>, impl1_def_id: DefId, impl2_def_id: DefId) -> b &infcx, ObligationCause::dummy(), impl_env, - tcx.impl_subject(impl1_def_id), + tcx.bound_impl_subject(impl1_def_id).subst_identity(), ) { Ok(s) => s, Err(err) => { |
