about summary refs log tree commit diff
path: root/src/librustc_error_codes/error_codes
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-10-13 01:50:03 +0200
committerMazdak Farrokhzad <twingoow@gmail.com>2019-11-21 14:55:32 +0100
commit15c30ddd69d6cc3fffe6d304c6dc968a5ed046f1 (patch)
tree95bc3d210dafa100d70199d2730b0378584898e7 /src/librustc_error_codes/error_codes
parentf1b882b55805c342e46ee4ca3beeef1d1fa2044b (diff)
downloadrust-15c30ddd69d6cc3fffe6d304c6dc968a5ed046f1.tar.gz
rust-15c30ddd69d6cc3fffe6d304c6dc968a5ed046f1.zip
Stabilize the `never_type`, written `!`.
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 9bd321e5f82..b96a5e694df 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(never_type)] // error: the feature `never_type` is not in
-                        // the list of allowed features
+#![feature(specialization)] // error: the feature `specialization` is not in
+                            // the list of allowed features
 ```
 
 Delete the offending feature attribute, or add it to the list of allowed