about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2018-05-19 01:13:53 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2018-05-25 02:35:07 +0300
commite60eaf59dfb080317e9a8f8b3b301fca0b430fea (patch)
treea3babe75993fdc086f6f53f3e4208cf7c8680853 /src/doc
parentc2d46037fa6617408155dcba6251d7c4e123b4f5 (diff)
downloadrust-e60eaf59dfb080317e9a8f8b3b301fca0b430fea.tar.gz
rust-e60eaf59dfb080317e9a8f8b3b301fca0b430fea.zip
Fix naming conventions for new lints
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rustc/src/lints/listing/allowed-by-default.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc/src/lints/listing/allowed-by-default.md b/src/doc/rustc/src/lints/listing/allowed-by-default.md
index e1a3f96a6fe..7768b41f85e 100644
--- a/src/doc/rustc/src/lints/listing/allowed-by-default.md
+++ b/src/doc/rustc/src/lints/listing/allowed-by-default.md
@@ -64,7 +64,7 @@ To fix it, do as the help message suggests:
 
 ```rust
 #![feature(dyn_trait)]
-#![deny(bare_trait_object)]
+#![deny(bare_trait_objects)]
 
 trait Trait { }