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.
The item does not have the #[stable]
or #[unstable]
marker assigned.
Auto Trait Implementations
impl RefUnwindSafe for EvalResult
impl Send for EvalResult
impl Sync for EvalResult
impl Unpin for EvalResult
impl UnwindSafe for EvalResult
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. 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
Size for each variant:
Allow
: 0 bytesDeny
: 15 bytesUnmarked
: 0 bytes