rustc/tests/ui/coherence/auxiliary/option_future.rs
2023-08-02 10:33:26 +02: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 {}