]>
Commit | Line | Data |
---|---|---|
85aaf69f SL |
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 |