about summary refs log tree commit diff
path: root/compiler/rustc_lint/messages.ftl
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-05-28 08:53:08 +0200
committerRalf Jung <post@ralfj.de>2024-09-23 11:57:28 +0200
commit584c5cf7aee6029d6f9f443efffd438a9b1bd93f (patch)
treea2db9a183594bf5d6c329387c7354f4fc189bd1f /compiler/rustc_lint/messages.ftl
parent702987f75b74f789ba227ee04a3d7bb1680c2309 (diff)
downloadrust-584c5cf7aee6029d6f9f443efffd438a9b1bd93f.tar.gz
rust-584c5cf7aee6029d6f9f443efffd438a9b1bd93f.zip
add unqualified_local_imports lint
Diffstat (limited to 'compiler/rustc_lint/messages.ftl')
-rw-r--r--compiler/rustc_lint/messages.ftl2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_lint/messages.ftl b/compiler/rustc_lint/messages.ftl
index e71c5676ce4..83e97537c15 100644
--- a/compiler/rustc_lint/messages.ftl
+++ b/compiler/rustc_lint/messages.ftl
@@ -899,6 +899,8 @@ lint_unnameable_test_items = cannot test inner items
 lint_unnecessary_qualification = unnecessary qualification
     .suggestion = remove the unnecessary path segments
 
+lint_unqualified_local_imports = `use` of a local item without leading `self::`, `super::`, or `crate::`
+
 lint_unsafe_attr_outside_unsafe = unsafe attribute used without unsafe
     .label = usage of unsafe attribute
 lint_unsafe_attr_outside_unsafe_suggestion = wrap the attribute in `unsafe(...)`