[][src]Struct testing::TestOutput

#[must_use]
pub struct TestOutput<R> { pub errors: StdErr, pub result: R, }

Fields

errors: StdErr

Errors produced by swc_common::error::Handler.

result: R

Methods

impl<R> TestOutput<Option<R>>[src]

pub fn expect_err(self, _path: &Path)[src]

Expects result to be None and errors to be match content of ${path}.stderr.

Auto Trait Implementations

impl<R> Send for TestOutput<R> where
    R: Send

impl<R> Sync for TestOutput<R> where
    R: Sync

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, F> Fold for F where
    T: FoldWith<F>, 
[src]

fn then<F>(self, folder: F) -> AndThen<Self, F> where
    F: Fold<T>, 
[src]

Creates a folder which applies folder after self.

impl<T, F> Visit for F where
    T: VisitWith<F> + ?Sized
[src]

fn then<F>(self, visitor: F) -> AndThen<Self, F> where
    F: Visit<T>, 
[src]

Creates a folder which applies folder after self.

impl<T> Erased for T