pub enum ResolutionGap {
ExternalDefinition,
DynamicDispatch,
MacroExpansion,
MissingDefinition,
UnsupportedSyntax,
ConditionalCompilation,
Ambiguous,
}Expand description
Why a reference did not resolve, or resolved only to possibilities.
Filesystem closure failures are errors before a report exists, so they are not gaps.
Variants§
ExternalDefinition
The target is outside the indexed corpus.
DynamicDispatch
The target is chosen at run time.
MacroExpansion
The target would come from an expansion this tier does not perform.
MissingDefinition
The corpus contains no matching definition.
UnsupportedSyntax
The reference form is not one this tier resolves.
ConditionalCompilation
Conditional compilation leaves the active universe unknown.
Ambiguous
More than one definition matches and none is provably the target.
Trait Implementations§
Source§impl Clone for ResolutionGap
impl Clone for ResolutionGap
Source§fn clone(&self) -> ResolutionGap
fn clone(&self) -> ResolutionGap
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 moreimpl Copy for ResolutionGap
Source§impl Debug for ResolutionGap
impl Debug for ResolutionGap
Source§impl<'de> Deserialize<'de> for ResolutionGap
impl<'de> Deserialize<'de> for ResolutionGap
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ResolutionGap
Source§impl Hash for ResolutionGap
impl Hash for ResolutionGap
Source§impl Ord for ResolutionGap
impl Ord for ResolutionGap
Source§fn cmp(&self, other: &ResolutionGap) -> Ordering
fn cmp(&self, other: &ResolutionGap) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ResolutionGap
impl PartialEq for ResolutionGap
Source§impl PartialOrd for ResolutionGap
impl PartialOrd for ResolutionGap
Source§impl Serialize for ResolutionGap
impl Serialize for ResolutionGap
impl StructuralPartialEq for ResolutionGap
Auto Trait Implementations§
impl Freeze for ResolutionGap
impl RefUnwindSafe for ResolutionGap
impl Send for ResolutionGap
impl Sync for ResolutionGap
impl Unpin for ResolutionGap
impl UnsafeUnpin for ResolutionGap
impl UnwindSafe for ResolutionGap
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