-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Move pointee_info_at from rustc_codegen_llvm to rustc_target. #60237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
b7266c6
e395026
ed716d4
f1f9343
d47ec57
7257fc3
82410e8
199ff02
35bd58b
8e3d9f1
852dd49
8802dc0
18679cd
94a4892
80d5478
968eb7f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -947,11 +947,6 @@ pub trait TyLayoutMethods<'a, C: LayoutOf<Ty = Self>>: Sized { | |
offset: Size, | ||
param_env: Self::ParamEnv, | ||
) -> Option<PointeeInfo>; | ||
fn is_freeze( | ||
this: TyLayout<'a, Self>, | ||
cx: &C, | ||
param_env: Self::ParamEnv, | ||
)-> bool; | ||
} | ||
|
||
impl<'a, Ty> TyLayout<'a, Ty> { | ||
|
@@ -969,10 +964,6 @@ impl<'a, Ty> TyLayout<'a, Ty> { | |
where Ty: TyLayoutMethods<'a, C>, C: LayoutOf<Ty = Ty> { | ||
Ty::pointee_info_at(self, cx, offset, param_env) | ||
} | ||
pub fn is_freeze<C>(self, cx: &C, param_env: Ty::ParamEnv) -> bool | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Huh, was this actually not needed? Only There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was referring to the |
||
where Ty: TyLayoutMethods<'a, C>, C: LayoutOf<Ty = Ty> { | ||
Ty::is_freeze(self, cx, param_env) | ||
} | ||
} | ||
|
||
impl<'a, Ty> TyLayout<'a, Ty> { | ||
|
Uh oh!
There was an error while loading. Please reload this page.