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
Expand description
We can use the item because it is stable or we provided the corresponding feature gate.
Expand description
We cannot use the item because it is unstable and we did not provide the corresponding feature gate.
Show fields
Expand description
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
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> MaybeResult<T> for T[src]
impl<T> MaybeResult<T> for T[src]impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]fn with_constness(self, constness: Constness) -> ConstnessAnd<Self>[src]
fn with_const(self) -> ConstnessAnd<Self>[src]
fn without_const(self) -> ConstnessAnd<Self>[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,