diff options
| author | Michael Goulet <michael@errs.io> | 2024-12-11 00:59:39 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-12-11 00:59:43 +0000 |
| commit | ec68498317f90221eeca4c5a14593914b42c2d0e (patch) | |
| tree | 3ee9dd6520bf81c32c341e239c47746b759150f0 /compiler/rustc_middle | |
| parent | 33c245b9e98bc91e18ea1c5033824f4c6f92766f (diff) | |
| download | rust-ec68498317f90221eeca4c5a14593914b42c2d0e.tar.gz rust-ec68498317f90221eeca4c5a14593914b42c2d0e.zip | |
Rename projection_def_id to item_def_id
Diffstat (limited to 'compiler/rustc_middle')
| -rw-r--r-- | compiler/rustc_middle/src/ty/print/pretty.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/print/pretty.rs b/compiler/rustc_middle/src/ty/print/pretty.rs index cd4123f0a3f..40e0fb0087f 100644 --- a/compiler/rustc_middle/src/ty/print/pretty.rs +++ b/compiler/rustc_middle/src/ty/print/pretty.rs @@ -1020,7 +1020,7 @@ pub trait PrettyPrinter<'tcx>: Printer<'tcx> + fmt::Write { self.insert_trait_and_projection( trait_ref, - Some((proj.projection_def_id(), proj.term())), + Some((proj.item_def_id(), proj.term())), &mut traits, &mut fn_traits, ); |
