about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2017-01-01 20:34:23 +0100
committerest31 <MTest31@outlook.com>2017-01-01 20:34:23 +0100
commit2dc228480869372eb8b1359696f70850f7541938 (patch)
tree8c9a25cf183c989254eb6aac11f6d67e281cb5de /src
parentac5cd3bd43b9dbe681417e482065b24c08c544e8 (diff)
downloadrust-2dc228480869372eb8b1359696f70850f7541938.tar.gz
rust-2dc228480869372eb8b1359696f70850f7541938.zip
Fix pre-cfg_attr notation in comment
Commit aa3b1261b164eeac3e68573bfc698d1ca943fb05 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.
Diffstat (limited to 'src')
-rw-r--r--src/test/run-make/test-harness/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-make/test-harness/Makefile b/src/test/run-make/test-harness/Makefile
index fc9b65c47a9..aad8b1b3fbb 100644
--- a/src/test/run-make/test-harness/Makefile
+++ b/src/test/run-make/test-harness/Makefile
@@ -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'