| warning: negative impls are experimental |
| --> $DIR/soft-feature-gate-negative_impls.rs:8:6 |
| | |
| LL | impl !Trait for () {} |
| | ^ |
| | |
| = note: see issue #68318 <https://github.com/rust-lang/rust/issues/68318> for more information |
| = help: add `#![feature(negative_impls)]` to the crate attributes to enable |
| = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| = warning: unstable syntax can change at any point in the future, causing a hard error! |
| = note: for more information, see issue #154045 <https://github.com/rust-lang/rust/issues/154045> |
| |
| warning: 1 warning emitted |
| |