about summary refs log tree commit diff
path: root/src/librustc_error_codes/error_codes
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2019-12-11 09:55:29 -0500
committerNiko Matsakis <niko@alum.mit.edu>2019-12-14 09:01:09 -0500
commitd286113024ce50ada7a34f00041f4ff41f3217e6 (patch)
tree70d2d7673cfdc4b87a1bc391ab94198af0bf634c /src/librustc_error_codes/error_codes
parent1719337d02b0830234e3a1a86aae8f05af888cbe (diff)
downloadrust-d286113024ce50ada7a34f00041f4ff41f3217e6.tar.gz
rust-d286113024ce50ada7a34f00041f4ff41f3217e6.zip
Revert "Stabilize the `never_type`, written `!`."
This reverts commit 15c30ddd69d6cc3fffe6d304c6dc968a5ed046f1.
Diffstat (limited to 'src/librustc_error_codes/error_codes')
-rw-r--r--src/librustc_error_codes/error_codes/E0725.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_error_codes/error_codes/E0725.md b/src/librustc_error_codes/error_codes/E0725.md
index b96a5e694df..9bd321e5f82 100644
--- a/src/librustc_error_codes/error_codes/E0725.md
+++ b/src/librustc_error_codes/error_codes/E0725.md
@@ -4,8 +4,8 @@ command line flags.
 Erroneous code example:
 
 ```ignore (can't specify compiler flags from doctests)
-#![feature(specialization)] // error: the feature `specialization` is not in
-                            // the list of allowed features
+#![feature(never_type)] // error: the feature `never_type` is not in
+                        // the list of allowed features
 ```
 
 Delete the offending feature attribute, or add it to the list of allowed