From d4e26fbb5301b465a037c4d2ff54024ebd7f73d8 Mon Sep 17 00:00:00 2001 From: Urgau Date: Sun, 7 Apr 2024 00:33:37 +0200 Subject: compiletest: add enable-by-default check-cfg --- tests/ui/methods/method-lookup-order.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/ui/methods') diff --git a/tests/ui/methods/method-lookup-order.rs b/tests/ui/methods/method-lookup-order.rs index 08ad6483d08..f794e5a7241 100644 --- a/tests/ui/methods/method-lookup-order.rs +++ b/tests/ui/methods/method-lookup-order.rs @@ -18,6 +18,9 @@ //@ revisions: b00001 b00010 b00011 b00100 b00101 b00110 b00111 b01000 b01001 b01100 b01101 b10000 b10001 b10010 b10011 b10101 b10111 b11000 b11001 b11101 +//@ compile-flags: --check-cfg=cfg(inherent_mut,bar_for_foo,mutbar_for_foo) +//@ compile-flags: --check-cfg=cfg(valbar_for_et_foo,valbar_for_etmut_foo) + //@[b00001]compile-flags: --cfg inherent_mut //@[b00010]compile-flags: --cfg bar_for_foo //@[b00011]compile-flags: --cfg inherent_mut --cfg bar_for_foo -- cgit 1.4.1-3-g733a5