pub enum InlineConfigProblem {
UnknownRule,
UnknownOption {
key: String,
},
EnableHasNoEffect {
reason: EnableNoEffectReason,
},
}Expand description
What is wrong with an inline config comment.
Variants§
UnknownRule
A rule name that is not recognized.
UnknownOption
A recognized rule carrying an unrecognized option key inside a configure-file config object.
EnableHasNoEffect
An inline directive tries to enable a rule that will not run over this document. rumdl treats config-level rule selection as final, so the enable has no effect; this makes that silent no-op visible.
Fields
§
reason: EnableNoEffectReasonTrait Implementations§
Source§impl Clone for InlineConfigProblem
impl Clone for InlineConfigProblem
Source§fn clone(&self) -> InlineConfigProblem
fn clone(&self) -> InlineConfigProblem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InlineConfigProblem
impl Debug for InlineConfigProblem
impl Eq for InlineConfigProblem
Source§impl PartialEq for InlineConfigProblem
impl PartialEq for InlineConfigProblem
impl StructuralPartialEq for InlineConfigProblem
Auto Trait Implementations§
impl Freeze for InlineConfigProblem
impl RefUnwindSafe for InlineConfigProblem
impl Send for InlineConfigProblem
impl Sync for InlineConfigProblem
impl Unpin for InlineConfigProblem
impl UnsafeUnpin for InlineConfigProblem
impl UnwindSafe for InlineConfigProblem
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.