about summary refs log tree commit diff
path: root/src/librustc_errors/lib.rs
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2020-01-09 05:56:38 -0500
committerNiko Matsakis <niko@alum.mit.edu>2020-03-26 06:52:55 -0400
commitfda3378e3fcf279a19409ef368ce9bd5b57bfd62 (patch)
tree7fb3ae6e92d79b4c068d1e6f0d1d2dc45de49733 /src/librustc_errors/lib.rs
parent65071708f8fe72dd2103c6eace0eb6802a6acf03 (diff)
downloadrust-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/librustc_errors/lib.rs')
-rw-r--r--src/librustc_errors/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_errors/lib.rs b/src/librustc_errors/lib.rs
index a21314afb1e..6157c46f80c 100644
--- a/src/librustc_errors/lib.rs
+++ b/src/librustc_errors/lib.rs
@@ -802,13 +802,13 @@ impl HandlerInner {
                     ));
                     self.failure(&format!(
                         "For more information about an error, try \
-                                           `rustc --explain {}`.",
+                         `rustc --explain {}`.",
                         &error_codes[0]
                     ));
                 } else {
                     self.failure(&format!(
                         "For more information about this error, try \
-                                           `rustc --explain {}`.",
+                         `rustc --explain {}`.",
                         &error_codes[0]
                     ));
                 }