Skip to content

Commit 9953e76

Browse files
committed
Auto merge of #38760 - est31:ignorecfg, r=sanxiyn
Fix pre-cfg_attr notation in comment Commit aa3b126 has changed notation in the test from `#[ignore(cfg(ignorecfg))]` to `#[cfg_attr(ignorecfg, ignore)]`, but missed to change the comment in the accompanying Makefile.
2 parents df61658 + 2dc2284 commit 9953e76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/run-make/test-harness/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-include ../tools.mk
22

33
all:
4-
# check that #[ignore(cfg(...))] does the right thing.
4+
# check that #[cfg_attr(..., ignore)] does the right thing.
55
$(RUSTC) --test test-ignore-cfg.rs --cfg ignorecfg
66
$(call RUN,test-ignore-cfg) | grep 'shouldnotignore ... ok'
77
$(call RUN,test-ignore-cfg) | grep 'shouldignore ... ignored'

0 commit comments

Comments
 (0)