pub struct HierarchyCycle {
pub counters: Vec<String>,
}Expand description
The error that is reported when the numbering options number counters
within each other (id flm.numbering.hierarchy-cycle).
Counters are numbered within each other directly, as when a is numbered
within b and b within a, or through other counters. Every possible
parent of a counter (Parents) is taken into account. The registry build
fails for declarations that number counters within each other, so only the
numbering options can cause this error.
Reported by the numbering stage NUMBER once per run, when it applies the
numbering options. The error lists the counters that are numbered within
each other, and the counters that are numbered within one of them. No
reference point of these counters receives a number during the run.
Fields§
§counters: Vec<String>The counters concerned, in name order.
Implementations§
Trait Implementations§
Source§impl Clone for HierarchyCycle
impl Clone for HierarchyCycle
Source§impl Debug for HierarchyCycle
impl Debug for HierarchyCycle
Source§impl DiagnosticInfo for HierarchyCycle
impl DiagnosticInfo for HierarchyCycle
Source§const IDENTIFIER: &'static str = "flm.numbering.hierarchy-cycle"
const IDENTIFIER: &'static str = "flm.numbering.hierarchy-cycle"
<crate-or-lang>.<area>.<condition>. Read moreSource§fn serializable_data(&self) -> DiagnosticValue
fn serializable_data(&self) -> DiagnosticValue
Source§fn identifier(&self) -> &str
fn identifier(&self) -> &str
Source§impl Display for HierarchyCycle
impl Display for HierarchyCycle
impl Eq for HierarchyCycle
Source§impl PartialEq for HierarchyCycle
impl PartialEq for HierarchyCycle
impl StructuralPartialEq for HierarchyCycle
Auto Trait Implementations§
impl Forget for HierarchyCycle
impl Freeze for HierarchyCycle
impl Move for HierarchyCycle
impl RefUnwindSafe for HierarchyCycle
impl Send for HierarchyCycle
impl Sync for HierarchyCycle
impl Unpin for HierarchyCycle
impl UnsafeUnpin for HierarchyCycle
impl UnwindSafe for HierarchyCycle
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DiagnosticData for Twhere
T: DiagnosticInfo,
impl<T> DiagnosticData for Twhere
T: DiagnosticInfo,
Source§fn identifier(&self) -> &str
fn identifier(&self) -> &str
DiagnosticInfo::identifier — for every
ordinary condition, the IDENTIFIER const).Source§fn serializable_data(&self) -> DiagnosticValue
fn serializable_data(&self) -> DiagnosticValue
DiagnosticInfo::serializable_data).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
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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