2 // aux-build:option_future.rs
4 // Check that if we promise to not impl what would overlap it doesn't actually overlap
6 #![feature(rustc_attrs)]
7 #![feature(with_negative_coherence)]
9 extern crate option_future as lib;
14 impl<E> Termination for Option<E> where E: Sized {}
15 impl<F> Termination for F where F: Future + Sized {}