Trait CompileError

Source
pub trait CompileError<T> {
    // Required method
    fn expect_compile_error(self, msg: &str) -> T;
}

Required Methods§

Source

fn expect_compile_error(self, msg: &str) -> T

Implementations on Foreign Types§

Source§

impl<T> CompileError<T> for Option<T>

Source§

fn expect_compile_error(self, msg: &str) -> T

Source§

impl<T> CompileError<T> for Result<T, String>

Source§

fn expect_compile_error(self, msg: &str) -> T

Source§

impl<T> CompileError<T> for Result<T, ParseIntError>

Source§

fn expect_compile_error(self, msg: &str) -> T

Source§

impl<T> CompileError<T> for Result<T>

Source§

fn expect_compile_error(self, msg: &str) -> T

Implementors§