about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2018-09-01 21:45:44 +0530
committerManish Goregaokar <manishsmail@gmail.com>2018-09-01 21:45:44 +0530
commitdaa43643b06bf89a183ee9a41d8e50fa80f62c23 (patch)
tree996febc8ca52bf44c6d3e00cc8409ddde25b8f65
parent6a317be5c89febbdef799155e8cf667a93fa88d5 (diff)
downloadrust-daa43643b06bf89a183ee9a41d8e50fa80f62c23.tar.gz
rust-daa43643b06bf89a183ee9a41d8e50fa80f62c23.zip
deprcated -> deprecated
-rw-r--r--src/librustc/lint/context.rs2
-rw-r--r--src/test/ui-fulldeps/lint_tool_cmdline_allow.stderr2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/lint/context.rs b/src/librustc/lint/context.rs
index ddd74813621..b823545aa91 100644
--- a/src/librustc/lint/context.rs
+++ b/src/librustc/lint/context.rs
@@ -321,7 +321,7 @@ impl LintStore {
             }
             CheckLintNameResult::Tool(result) => match result {
                 Err((Some(_), new_name)) => Some(sess.struct_warn(&format!(
-                    "lint name `{}` is deprcated \
+                    "lint name `{}` is deprecated \
                      and does not have an effect anymore. \
                      Use: {}",
                     lint_name, new_name
diff --git a/src/test/ui-fulldeps/lint_tool_cmdline_allow.stderr b/src/test/ui-fulldeps/lint_tool_cmdline_allow.stderr
index fbf28a68bd0..c1a9d818746 100644
--- a/src/test/ui-fulldeps/lint_tool_cmdline_allow.stderr
+++ b/src/test/ui-fulldeps/lint_tool_cmdline_allow.stderr
@@ -1,4 +1,4 @@
-warning: lint name `test_lint` is deprcated and does not have an effect anymore. Use: clippy::test_lint
+warning: lint name `test_lint` is deprecated and does not have an effect anymore. Use: clippy::test_lint
    |
    = note: requested on the command line with `-A test_lint`