X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=tests%2Frun-make%2Fuse-suggestions-rust-2018%2FMakefile;fp=tests%2Frun-make%2Fuse-suggestions-rust-2018%2FMakefile;h=37cd6283c0a6e9ae78e13b29b0a724fa8a14dc73;hb=e83d0c4048c901374302ef8d1eefbeb1aef6c87d;hp=0000000000000000000000000000000000000000;hpb=1812ffc342b212016a5bec5bb390dc09c217f18f;p=rustc.git diff --git a/tests/run-make/use-suggestions-rust-2018/Makefile b/tests/run-make/use-suggestions-rust-2018/Makefile new file mode 100644 index 0000000000..37cd6283c0 --- /dev/null +++ b/tests/run-make/use-suggestions-rust-2018/Makefile @@ -0,0 +1,7 @@ +include ../tools.mk + +all: + $(RUSTC) ep-nested-lib.rs + + $(RUSTC) use-suggestions.rs --edition=2018 --extern ep_nested_lib=$(TMPDIR)/libep_nested_lib.rlib 2>&1 | $(CGREP) "use ep_nested_lib::foo::bar::Baz" +