about summary refs log tree commit diff
path: root/library/core/tests/macros.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-07 03:33:39 +0000
committerbors <bors@rust-lang.org>2024-02-07 03:33:39 +0000
commitd4f6f9ee6a3b24f2cb97b1a5b82963609b93aa33 (patch)
tree87e875c88b08158761df546ea4e88902fbb08d6a /library/core/tests/macros.rs
parent586893c7b0adabf5f0a4c155fd86e13cf470e74b (diff)
parentc7519d42c2664828c98fdb98acab73e9a39b0b97 (diff)
downloadrust-d4f6f9ee6a3b24f2cb97b1a5b82963609b93aa33.tar.gz
rust-d4f6f9ee6a3b24f2cb97b1a5b82963609b93aa33.zip
Auto merge of #118257 - mu001999:dead_code/trait, r=cjgillot
Make traits / trait methods detected by the dead code lint

Fixes #118139 and #41883
Diffstat (limited to 'library/core/tests/macros.rs')
-rw-r--r--library/core/tests/macros.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/tests/macros.rs b/library/core/tests/macros.rs
index eb886def164..09994fbcbdb 100644
--- a/library/core/tests/macros.rs
+++ b/library/core/tests/macros.rs
@@ -1,3 +1,4 @@
+#[allow(dead_code)]
 trait Trait {
     fn blah(&self);
 }