Enum rustc_middle::middle::stability::EvalResult [−][src]
pub enum EvalResult {
Allow,
Deny {
feature: Symbol,
reason: Option<Symbol>,
issue: Option<NonZeroU32>,
is_soft: bool,
},
Unmarked,
}Expand description
Result of TyCtxt::eval_stability.
Variants
We can use the item because it is stable or we provided the corresponding feature gate.
We cannot use the item because it is unstable and we did not provide the corresponding feature gate.
Show fields
The item does not have the #[stable] or #[unstable] marker assigned.
Auto Trait Implementations
impl RefUnwindSafe for EvalResultimpl Send for EvalResultimpl Sync for EvalResultimpl Unpin for EvalResultimpl UnwindSafe for EvalResultBlanket Implementations
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes