diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-08-03 17:42:17 +0200 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-11-06 11:08:23 +0100 |
| commit | 79b35e90f1cbfa21b6a39354cf7d8e8acfa8b0e1 (patch) | |
| tree | 18845b20988b8c6e7f22982a404d439742f40a96 /src/doc | |
| parent | c0056c04f61a051e26dae2631c59637da815abbb (diff) | |
| download | rust-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.md | 12 |
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 |
