mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 18:27:37 +00:00
8 lines
155 B
Rust
8 lines
155 B
Rust
#![feature(negative_impls)]
|
|
#![feature(with_negative_coherence)]
|
|
|
|
pub trait ForeignTrait {}
|
|
|
|
impl ForeignTrait for u32 {}
|
|
impl !ForeignTrait for String {}
|