Auto merge of #38760 - est31:ignorecfg, r=sanxiyn
Fix pre-cfg_attr notation in comment
Commit aa3b1261b1
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.
This commit is contained in:
commit
9953e76ca4
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
-include ../tools.mk
|
||||
|
||||
all:
|
||||
# check that #[ignore(cfg(...))] does the right thing.
|
||||
# check that #[cfg_attr(..., ignore)] does the right thing.
|
||||
$(RUSTC) --test test-ignore-cfg.rs --cfg ignorecfg
|
||||
$(call RUN,test-ignore-cfg) | grep 'shouldnotignore ... ok'
|
||||
$(call RUN,test-ignore-cfg) | grep 'shouldignore ... ignored'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue