pub enum ModuleViolationKind {
FrozenKernelMutation,
AdapterRuleDefinition,
HeldOutLeakage,
UnknownModule,
}Expand description
Violation kind emitted by module boundary diagnostics.
Variants§
FrozenKernelMutation
A non-kernel module attempted to define a frozen kernel predicate.
AdapterRuleDefinition
An adapter-only module declared a rule.
HeldOutLeakage
Held-out labels were used as candidate provenance.
UnknownModule
A declaration referenced an unknown module.
Trait Implementations§
Source§impl Clone for ModuleViolationKind
impl Clone for ModuleViolationKind
Source§fn clone(&self) -> ModuleViolationKind
fn clone(&self) -> ModuleViolationKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModuleViolationKind
impl Debug for ModuleViolationKind
Source§impl PartialEq for ModuleViolationKind
impl PartialEq for ModuleViolationKind
impl Eq for ModuleViolationKind
impl StructuralPartialEq for ModuleViolationKind
Auto Trait Implementations§
impl Freeze for ModuleViolationKind
impl RefUnwindSafe for ModuleViolationKind
impl Send for ModuleViolationKind
impl Sync for ModuleViolationKind
impl Unpin for ModuleViolationKind
impl UnsafeUnpin for ModuleViolationKind
impl UnwindSafe for ModuleViolationKind
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more