]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/allow-non-lint-warnings-cmdline/Makefile
Rollup merge of #85989 - jyn514:gitignore-cleanup, r=ehuss
[rust.git] / src / test / run-make-fulldeps / allow-non-lint-warnings-cmdline / Makefile
1 -include ../tools.mk
2
3 # Test that -A warnings makes the 'empty trait list for derive' warning go away
4 OUT=$(shell $(RUSTC) foo.rs -A warnings 2>&1 | grep "warning" )
5
6 all: foo
7         test -z '$(OUT)'
8
9 # This is just to make sure the above command actually succeeds
10 foo:
11         $(RUSTC) foo.rs -A warnings