diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2020-01-09 05:56:38 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2020-03-26 06:52:55 -0400 |
| commit | fda3378e3fcf279a19409ef368ce9bd5b57bfd62 (patch) | |
| tree | 7fb3ae6e92d79b4c068d1e6f0d1d2dc45de49733 /src/test/ui/codemap_tests | |
| parent | 65071708f8fe72dd2103c6eace0eb6802a6acf03 (diff) | |
| download | rust-fda3378e3fcf279a19409ef368ce9bd5b57bfd62.tar.gz rust-fda3378e3fcf279a19409ef368ce9bd5b57bfd62.zip | |
introduce `negative_impls` feature gate and document
They used to be covered by `optin_builtin_traits` but negative impls are now applicable to all traits, not just auto traits. This also adds docs in the unstable book for the current state of auto traits.
Diffstat (limited to 'src/test/ui/codemap_tests')
| -rw-r--r-- | src/test/ui/codemap_tests/empty_span.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/codemap_tests/empty_span.rs b/src/test/ui/codemap_tests/empty_span.rs index 4d52b391280..7753e2eceb5 100644 --- a/src/test/ui/codemap_tests/empty_span.rs +++ b/src/test/ui/codemap_tests/empty_span.rs @@ -1,4 +1,4 @@ -#![feature(optin_builtin_traits)] +#![feature(negative_impls)] fn main() { struct Foo; |
