From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- src/tools/clippy/tests/workspace_test/path_dep/Cargo.toml | 3 +++ src/tools/clippy/tests/workspace_test/path_dep/src/lib.rs | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 src/tools/clippy/tests/workspace_test/path_dep/Cargo.toml create mode 100644 src/tools/clippy/tests/workspace_test/path_dep/src/lib.rs (limited to 'src/tools/clippy/tests/workspace_test/path_dep') diff --git a/src/tools/clippy/tests/workspace_test/path_dep/Cargo.toml b/src/tools/clippy/tests/workspace_test/path_dep/Cargo.toml new file mode 100644 index 000000000..85a91cd2d --- /dev/null +++ b/src/tools/clippy/tests/workspace_test/path_dep/Cargo.toml @@ -0,0 +1,3 @@ +[package] +name = "path_dep" +version = "0.1.0" 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 {} +} -- cgit v1.2.3