summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/tool-import.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/resolve/tool-import.rs')
-rw-r--r--tests/ui/resolve/tool-import.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/resolve/tool-import.rs b/tests/ui/resolve/tool-import.rs
new file mode 100644
index 000000000..971993332
--- /dev/null
+++ b/tests/ui/resolve/tool-import.rs
@@ -0,0 +1,8 @@
+// edition: 2018
+
+use clippy::time::Instant;
+//~^ `clippy` is a tool module
+
+fn main() {
+ Instant::now();
+}