3 // check that reservation impls can't be used as normal impls in positive reasoning.
5 #![feature(rustc_attrs)]
7 trait MyTrait { fn foo(&self); }
8 #[rustc_reservation_impl]
9 impl MyTrait for () { fn foo(&self) {} }
12 <() as MyTrait>::foo(&());
13 //~^ ERROR the trait bound `(): MyTrait` is not satisfied