]> git.lizzy.rs Git - rust.git/blob - tests/run-make-fulldeps/allow-warnings-cmdline-stability/Makefile
Rollup merge of #106714 - Ezrashaw:remove-e0490, r=davidtwco
[rust.git] / tests / run-make-fulldeps / allow-warnings-cmdline-stability / Makefile
1 include ../tools.mk
2
3 # Test that -A warnings makes the 'empty trait list for derive' warning go away
4 DEP=$(shell $(RUSTC) bar.rs)
5 OUT=$(shell $(RUSTC) foo.rs -A warnings 2>&1 | grep "warning" )
6
7 all: foo bar
8         test -z '$(OUT)'
9
10 # These are just to ensure that the above commands actually work
11 bar:
12         $(RUSTC) bar.rs
13
14 foo: bar
15         $(RUSTC) foo.rs -A warnings