about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-08-03 17:42:17 +0200
committerMazdak Farrokhzad <twingoow@gmail.com>2019-11-06 11:08:23 +0100
commit79b35e90f1cbfa21b6a39354cf7d8e8acfa8b0e1 (patch)
tree18845b20988b8c6e7f22982a404d439742f40a96 /src/doc
parentc0056c04f61a051e26dae2631c59637da815abbb (diff)
downloadrust-79b35e90f1cbfa21b6a39354cf7d8e8acfa8b0e1.tar.gz
rust-79b35e90f1cbfa21b6a39354cf7d8e8acfa8b0e1.zip
legacy_directory_ownership -> error
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rustc/src/lints/listing/deny-by-default.md12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/doc/rustc/src/lints/listing/deny-by-default.md b/src/doc/rustc/src/lints/listing/deny-by-default.md
index 540543f98f3..f175a881fef 100644
--- a/src/doc/rustc/src/lints/listing/deny-by-default.md
+++ b/src/doc/rustc/src/lints/listing/deny-by-default.md
@@ -45,18 +45,6 @@ error: defaults for type parameters are only allowed in `struct`, `enum`, `type`
   = note: for more information, see issue #36887 <https://github.com/rust-lang/rust/issues/36887>
 ```
 
-## legacy-directory-ownership
-
-The legacy_directory_ownership warning is issued when
-
-* There is a non-inline module with a `#[path]` attribute (e.g. `#[path = "foo.rs"] mod bar;`),
-* The module's file ("foo.rs" in the above example) is not named "mod.rs", and
-* The module's file contains a non-inline child module without a `#[path]` attribute.
-
-The warning can be fixed by renaming the parent module to "mod.rs" and moving
-it into its own directory if appropriate.
-
-
 ## missing-fragment-specifier
 
 The missing_fragment_specifier warning is issued when an unused pattern in a