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