Skip to main content

NotLowered

Struct NotLowered 

Source
pub(crate) struct NotLowered<'a> {
    pub(crate) benchmark: &'static str,
    pub(crate) what: &'a str,
}
Expand description

One benchmark the linear-memory lowering could not lower, and what it said.

cove_ir has no admission predicate and no Unsupported type of its own — its module docs say a construct it has not been taught is a bug in the lowering rather than a program it declines — so this is a gap in the backend ADR 0034 makes the production one, and it fails the suite for that reason. ast has no counterpart to this row: the interpreter runs the checked program directly and never refuses one.

Fields§

§benchmark: &'static str§what: &'a str

Implementations§

Source§

impl NotLowered<'_>

Source

pub(crate) fn to_json(&self) -> String

Auto Trait Implementations§

§

impl<'a> Freeze for NotLowered<'a>

§

impl<'a> RefUnwindSafe for NotLowered<'a>

§

impl<'a> Send for NotLowered<'a>

§

impl<'a> Sync for NotLowered<'a>

§

impl<'a> Unpin for NotLowered<'a>

§

impl<'a> UnsafeUnpin for NotLowered<'a>

§

impl<'a> UnwindSafe for NotLowered<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.