blob: f081820039275895a42f0198a0ff8b4f14daf447 [file] [log] [blame]
#![feature(negative_impls)]
pub trait Whatever {
type Foo;
fn method() {}
}
pub struct Struct;
pub struct Struct2;
impl Whatever for Struct {
type Foo = u8;
}
impl !Whatever for Struct2 {}
impl http::HttpTrait for Struct {}
mod traits {
pub trait TraitToReexport {
fn method() {}
}
}
#[doc(inline)]
pub use traits::TraitToReexport;