From daa43643b06bf89a183ee9a41d8e50fa80f62c23 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Sat, 1 Sep 2018 21:45:44 +0530 Subject: [PATCH] deprcated -> deprecated --- src/librustc/lint/context.rs | 2 +- src/test/ui-fulldeps/lint_tool_cmdline_allow.stderr | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc/lint/context.rs b/src/librustc/lint/context.rs index ddd74813621a..b823545aa911 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 fbf28a68bd0c..c1a9d8187467 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`