2022-08-22 19:00:00 -05:00
|
|
|
include ../tools.mk
|
2015-01-26 17:42:24 -06:00
|
|
|
|
|
|
|
# Test that -A warnings makes the 'empty trait list for derive' warning go away
|
|
|
|
OUT=$(shell $(RUSTC) foo.rs -A warnings 2>&1 | grep "warning" )
|
|
|
|
|
|
|
|
all: foo
|
|
|
|
test -z '$(OUT)'
|
|
|
|
|
|
|
|
# This is just to make sure the above command actually succeeds
|
|
|
|
foo:
|
|
|
|
$(RUSTC) foo.rs -A warnings
|