rust/tests/ui/coherence/auxiliary/option_future.rs
2023-01-11 09:32:08 +00:00

9 lines
183 B
Rust

#![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 {}