blob: 7bdd1035a1bf2575f6406d6cc710bb0f8929f227 [file] [log] [blame]
#![feature(optin_builtin_traits)]
struct TestType;
trait TestTrait {
fn dummy(&self) { }
}
impl !TestTrait for TestType {}
//~^ ERROR negative impls are only allowed for auto traits (e.g., `Send` and `Sync`)
fn main() {}