about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-02-03 04:37:50 +0100
committerMazdak Farrokhzad <twingoow@gmail.com>2019-02-03 04:37:50 +0100
commit285106a40e70cd5b240625749e4eac8fce96fcf9 (patch)
tree56295dcd2f2cb839d3624b98c0a6004487d19b55
parent017cf53798f8d5a98089d3fc37b739c98e9f75b7 (diff)
downloadrust-285106a40e70cd5b240625749e4eac8fce96fcf9.tar.gz
rust-285106a40e70cd5b240625749e4eac8fce96fcf9.zip
liballoc: alloc-extern-crates test needs --edition=2018
-rw-r--r--src/test/run-make-fulldeps/alloc-extern-crates/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-make-fulldeps/alloc-extern-crates/Makefile b/src/test/run-make-fulldeps/alloc-extern-crates/Makefile
index 7197f4e17e3..338caa5614e 100644
--- a/src/test/run-make-fulldeps/alloc-extern-crates/Makefile
+++ b/src/test/run-make-fulldeps/alloc-extern-crates/Makefile
@@ -2,4 +2,4 @@
 
 all:
 	$(RUSTC) fakealloc.rs
-	$(RUSTC) --crate-type=rlib ../../../liballoc/lib.rs --cfg feature=\"external_crate\" --extern external=$(TMPDIR)/$(shell $(RUSTC) --print file-names fakealloc.rs)
+	$(RUSTC) --edition=2018 --crate-type=rlib ../../../liballoc/lib.rs --cfg feature=\"external_crate\" --extern external=$(TMPDIR)/$(shell $(RUSTC) --print file-names fakealloc.rs)