about summary refs log tree commit diff
path: root/tests/ui/methods/method-lookup-order.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/methods/method-lookup-order.rs')
-rw-r--r--tests/ui/methods/method-lookup-order.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/methods/method-lookup-order.rs b/tests/ui/methods/method-lookup-order.rs
index 986fe103cdc..5a46cf35dec 100644
--- a/tests/ui/methods/method-lookup-order.rs
+++ b/tests/ui/methods/method-lookup-order.rs
@@ -1,6 +1,7 @@
 // ignore-tidy-linelength
 
 // run-pass
+#![allow(dead_code)]
 
 // There are five cfg's below. I explored the set of all non-empty combinations
 // of the below five cfg's, which is 2^5 - 1 = 31 combinations.