about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNathan Ringo <remexre@gmail.com>2019-12-07 14:09:43 -0600
committerGitHub <noreply@github.com>2019-12-07 14:09:43 -0600
commitdfc04fc7a78888e9afa7dcc26d0173564e79adbe (patch)
tree090338e83b2d24e7c11a448243a7fa69e4e27ba8
parent5c5c8eb864e56ce905742b8e97df5506bba6aeef (diff)
downloadrust-dfc04fc7a78888e9afa7dcc26d0173564e79adbe.tar.gz
rust-dfc04fc7a78888e9afa7dcc26d0173564e79adbe.zip
Fixes typo
`legacy_disrectory_ownership` vs `legacy_directory_ownership`
-rw-r--r--src/librustc_lint/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_lint/lib.rs b/src/librustc_lint/lib.rs
index 12aab4b4f84..b77f2cb8d6e 100644
--- a/src/librustc_lint/lib.rs
+++ b/src/librustc_lint/lib.rs
@@ -341,7 +341,7 @@ fn register_builtins(store: &mut lint::LintStore, no_interleave_lints: bool) {
         "converted into hard error, see https://github.com/rust-lang/rust/issues/46205");
     store.register_removed("legacy_constructor_visibility",
         "converted into hard error, see https://github.com/rust-lang/rust/issues/39207");
-    store.register_removed("legacy_disrectory_ownership",
+    store.register_removed("legacy_directory_ownership",
         "converted into hard error, see https://github.com/rust-lang/rust/issues/37872");
     store.register_removed("safe_extern_statics",
         "converted into hard error, see https://github.com/rust-lang/rust/issues/36247");