diff options
author | Cameron Steffen <cam.steffen94@gmail.com> | 2025-08-13 14:14:37 -0500 |
---|---|---|
committer | Cameron Steffen <cam.steffen94@gmail.com> | 2025-09-12 15:10:30 -0500 |
commit | 5590e55b03722fb7da2d965478deb4b5d62bf97a (patch) | |
tree | 689804c6035a4f3b696e97b417ac3e30bc572737 /compiler/rustc_public/src/ty.rs | |
parent | 16c218c57ff83c82ba58753c3a67f697e260adc1 (diff) | |
download | rust-5590e55b03722fb7da2d965478deb4b5d62bf97a.tar.gz rust-5590e55b03722fb7da2d965478deb4b5d62bf97a.zip |
Rename AssocItemContainer -> AssocContainer
Diffstat (limited to 'compiler/rustc_public/src/ty.rs')
-rw-r--r-- | compiler/rustc_public/src/ty.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_public/src/ty.rs b/compiler/rustc_public/src/ty.rs index 1b5f0ed1429..c7422051c36 100644 --- a/compiler/rustc_public/src/ty.rs +++ b/compiler/rustc_public/src/ty.rs @@ -1612,7 +1612,7 @@ crate_def! { pub struct AssocItem { pub def_id: AssocDef, pub kind: AssocKind, - pub container: AssocItemContainer, + pub container: AssocContainer, /// If this is an item in an impl of a trait then this is the `DefId` of /// the associated item on the trait that this implements. @@ -1636,7 +1636,7 @@ pub enum AssocKind { } #[derive(Clone, Debug, Eq, PartialEq, Serialize)] -pub enum AssocItemContainer { +pub enum AssocContainer { Trait, Impl, } |