rust/tests/ui/coherence/auxiliary/option_future.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
183 B
Rust
Raw Normal View History

#![crate_type = "lib"]
#![feature(negative_impls)]
#![feature(rustc_attrs)]
#![feature(with_negative_coherence)]
pub trait Future {}
impl<E> !Future for Option<E> where E: Sized {}