提交 9953e76c 编写于 作者: B bors

Auto merge of #38760 - est31:ignorecfg, r=sanxiyn

Fix pre-cfg_attr notation in comment

Commit aa3b1261 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.
-include ../tools.mk -include ../tools.mk
all: 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 $(RUSTC) --test test-ignore-cfg.rs --cfg ignorecfg
$(call RUN,test-ignore-cfg) | grep 'shouldnotignore ... ok' $(call RUN,test-ignore-cfg) | grep 'shouldnotignore ... ok'
$(call RUN,test-ignore-cfg) | grep 'shouldignore ... ignored' $(call RUN,test-ignore-cfg) | grep 'shouldignore ... ignored'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册