Skip to content

Commit 2dc2284

Browse files
committed
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.
1 parent ac5cd3b commit 2dc2284

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)