Skip to content

Commit daa4364

Browse files
committed
deprcated -> deprecated
1 parent 6a317be commit daa4364

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/librustc/lint/context.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ impl LintStore {
321321
}
322322
CheckLintNameResult::Tool(result) => match result {
323323
Err((Some(_), new_name)) => Some(sess.struct_warn(&format!(
324-
"lint name `{}` is deprcated \
324+
"lint name `{}` is deprecated \
325325
and does not have an effect anymore. \
326326
Use: {}",
327327
lint_name, new_name

Diff for: src/test/ui-fulldeps/lint_tool_cmdline_allow.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
warning: lint name `test_lint` is deprcated and does not have an effect anymore. Use: clippy::test_lint
1+
warning: lint name `test_lint` is deprecated and does not have an effect anymore. Use: clippy::test_lint
22
|
33
= note: requested on the command line with `-A test_lint`
44

0 commit comments

Comments
 (0)