blob: 401095dd83ba113a7c612c20c03b751f1fb4d722 [file] [log] [blame]
#![feature(freeze, negative_impls)]
use std::marker::Freeze;
struct Foo;
unsafe impl Freeze for Foo {}
//~^ ERROR explicit impls for the `Freeze` trait are not permitted
struct Bar;
impl !Freeze for Bar {}
//~^ ERROR explicit impls for the `Freeze` trait are not permitted
fn main() {}