pub enum LegacyOCamlPhase {
Show 41 variants
AndMutDefsite,
BundleCycles,
CfIntoMonads,
DirectAndMut,
DropBlocks,
DropMatchGuards,
DropReferences,
DropReturnBreakContinue,
DropSizedTrait,
ExplicitConversions,
FunctionalizeLoops,
HoistDisjunctivePatterns,
LocalMutation,
NewtypeAsRefinement,
ReconstructAsserts,
ReconstructForIndexLoops,
ReconstructForLoops,
ReconstructQuestionMarks,
ReconstructWhileLoops,
ReorderFields,
RewriteControlFlow,
RewriteLocalSelf,
SimplifyHoisting,
SimplifyMatchReturn,
SimplifyQuestionMarks,
SortItems,
Specialize,
TraitsSpecs,
TransformHaxLibInline,
TrivializeAssignLhs,
RejectArbitraryLhs,
RejectContinue,
RejectQuestionMark,
RejectRawOrMutPointer,
RejectEarlyExit,
RejectAsPattern,
RejectDyn,
RejectTraitItemDefault,
RejectUnsafe,
RejectImplTypeMethod,
HoistSideEffects,
}Expand description
The list of exposed OCaml phases.
Variants§
AndMutDefsite
The phase and_mut_defsite from the OCaml engine.
BundleCycles
The phase bundle_cycles from the OCaml engine.
CfIntoMonads
The phase cf_into_monads from the OCaml engine.
DirectAndMut
The phase direct_and_mut from the OCaml engine.
DropBlocks
The phase drop_blocks from the OCaml engine.
DropMatchGuards
The phase drop_match_guards from the OCaml engine.
DropReferences
The phase drop_references from the OCaml engine.
DropReturnBreakContinue
The phase drop_return_break_continue from the OCaml engine.
DropSizedTrait
The phase drop_sized_trait from the OCaml engine.
ExplicitConversions
The phase explicit_conversions from the OCaml engine.
FunctionalizeLoops
The phase functionalize_loops from the OCaml engine.
HoistDisjunctivePatterns
The phase hoist_disjunctive_patterns from the OCaml engine.
LocalMutation
The phase local_mutation from the OCaml engine.
NewtypeAsRefinement
The phase newtype_as_refinement from the OCaml engine.
ReconstructAsserts
The phase reconstruct_asserts from the OCaml engine.
ReconstructForIndexLoops
The phase reconstruct_for_index_loops from the OCaml engine.
ReconstructForLoops
The phase reconstruct_for_loops from the OCaml engine.
ReconstructQuestionMarks
The phase reconstruct_question_marks from the OCaml engine.
ReconstructWhileLoops
The phase reconstruct_while_loops from the OCaml engine.
ReorderFields
The phase reorder_fields from the OCaml engine.
RewriteControlFlow
The phase rewrite_control_flow from the OCaml engine.
RewriteLocalSelf
The phase rewrite_local_self from the OCaml engine.
SimplifyHoisting
The phase simplify_hoisting from the OCaml engine.
SimplifyMatchReturn
The phase simplify_match_return from the OCaml engine.
SimplifyQuestionMarks
The phase simplify_question_marks from the OCaml engine.
SortItems
The phase sort_items from the OCaml engine.
Specialize
The phase specialize from the OCaml engine.
TraitsSpecs
The phase traits_specs from the OCaml engine.
TransformHaxLibInline
The phase transform_hax_lib_inline from the OCaml engine.
TrivializeAssignLhs
The phase trivialize_assign_lhs from the OCaml engine.
RejectArbitraryLhs
The phase reject_arbitrary_lhs from the OCaml engine.
RejectContinue
The phase reject_continue from the OCaml engine.
RejectQuestionMark
The phase reject_question_mark from the OCaml engine.
RejectRawOrMutPointer
The phase reject_raw_or_mut_pointer from the OCaml engine.
RejectEarlyExit
The phase reject_early_exit from the OCaml engine.
RejectAsPattern
The phase reject_as_pattern from the OCaml engine.
RejectDyn
The phase reject_dyn from the OCaml engine.
RejectTraitItemDefault
The phase reject_trait_item_default from the OCaml engine.
RejectUnsafe
The phase reject_unsafe from the OCaml engine.
RejectImplTypeMethod
The phase reject_impl_type_method from the OCaml engine.
HoistSideEffects
The phase hoist_side_effects from the OCaml engine.
Trait Implementations§
Source§impl Clone for LegacyOCamlPhase
impl Clone for LegacyOCamlPhase
Source§fn clone(&self) -> LegacyOCamlPhase
fn clone(&self) -> LegacyOCamlPhase
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for LegacyOCamlPhase
Source§impl Debug for LegacyOCamlPhase
impl Debug for LegacyOCamlPhase
Source§impl<'de> Deserialize<'de> for LegacyOCamlPhase
impl<'de> Deserialize<'de> for LegacyOCamlPhase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Display for LegacyOCamlPhase
impl Display for LegacyOCamlPhase
Source§impl From<LegacyOCamlPhase> for PhaseKind
impl From<LegacyOCamlPhase> for PhaseKind
Source§fn from(legacy_phase: LegacyOCamlPhase) -> Self
fn from(legacy_phase: LegacyOCamlPhase) -> Self
Source§impl Phase for LegacyOCamlPhase
impl Phase for LegacyOCamlPhase
Auto Trait Implementations§
impl Freeze for LegacyOCamlPhase
impl RefUnwindSafe for LegacyOCamlPhase
impl Send for LegacyOCamlPhase
impl Sync for LegacyOCamlPhase
impl Unpin for LegacyOCamlPhase
impl UnsafeUnpin for LegacyOCamlPhase
impl UnwindSafe for LegacyOCamlPhase
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more