summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/workspace_test/path_dep/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/tests/workspace_test/path_dep/src/lib.rs')
-rw-r--r--src/tools/clippy/tests/workspace_test/path_dep/src/lib.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tools/clippy/tests/workspace_test/path_dep/src/lib.rs b/src/tools/clippy/tests/workspace_test/path_dep/src/lib.rs
new file mode 100644
index 000000000..35ce524f2
--- /dev/null
+++ b/src/tools/clippy/tests/workspace_test/path_dep/src/lib.rs
@@ -0,0 +1,6 @@
+#![deny(clippy::empty_loop)]
+
+#[cfg(feature = "primary_package_test")]
+pub fn lint_me() {
+ loop {}
+}