Move StatementAsExpression
to where it's actually used.
Also minimize some visibilities in the destination file.
This commit is contained in:
parent
5986ff05d8
commit
dc4f948299
2 changed files with 13 additions and 14 deletions
|
@ -514,12 +514,6 @@ impl<'tcx> ObligationCauseCode<'tcx> {
|
|||
#[cfg(target_pointer_width = "64")]
|
||||
rustc_data_structures::static_assert_size!(ObligationCauseCode<'_>, 48);
|
||||
|
||||
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)]
|
||||
pub enum StatementAsExpression {
|
||||
CorrectType,
|
||||
NeedsBoxing,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Eq, HashStable, TyEncodable, TyDecodable)]
|
||||
#[derive(TypeVisitable, TypeFoldable)]
|
||||
pub struct MatchExpressionArmCause<'tcx> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue