diff options
| author | Boxy <rust@boxyuwu.dev> | 2025-04-24 11:31:33 +0100 |
|---|---|---|
| committer | Boxy <rust@boxyuwu.dev> | 2025-04-24 11:59:20 +0100 |
| commit | bdfeb8f36bb2716eb8f5aca32ba4f81563a6818b (patch) | |
| tree | 4651a63fdf66bd493f20dc9beceab66973ab044a /compiler/rustc_middle/src/ty/print/pretty.rs | |
| parent | 7f695232a80fa1833e2282f2577c5e1ff066bf39 (diff) | |
| download | rust-bdfeb8f36bb2716eb8f5aca32ba4f81563a6818b.tar.gz rust-bdfeb8f36bb2716eb8f5aca32ba4f81563a6818b.zip | |
Remove `weak` alias terminology
Diffstat (limited to 'compiler/rustc_middle/src/ty/print/pretty.rs')
| -rw-r--r-- | compiler/rustc_middle/src/ty/print/pretty.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_middle/src/ty/print/pretty.rs b/compiler/rustc_middle/src/ty/print/pretty.rs index d739218af5e..42315b613f0 100644 --- a/compiler/rustc_middle/src/ty/print/pretty.rs +++ b/compiler/rustc_middle/src/ty/print/pretty.rs @@ -820,7 +820,7 @@ pub trait PrettyPrinter<'tcx>: Printer<'tcx> + fmt::Write { ty::Foreign(def_id) => { p!(print_def_path(def_id, &[])); } - ty::Alias(ty::Projection | ty::Inherent | ty::Weak, ref data) => { + ty::Alias(ty::Projection | ty::Inherent | ty::Free, ref data) => { p!(print(data)) } ty::Placeholder(placeholder) => match placeholder.bound.kind { @@ -3205,7 +3205,7 @@ define_print! { p!(print_def_path(self.def_id, self.args)); } } - | ty::AliasTermKind::WeakTy + | ty::AliasTermKind::FreeTy | ty::AliasTermKind::OpaqueTy | ty::AliasTermKind::UnevaluatedConst | ty::AliasTermKind::ProjectionConst => { |
