fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
293 B11 linesraw
1-include ../tools.mk
2
3# Test that -A warnings makes the 'empty trait list for derive' warning go away
4OUT=$(shell $(RUSTC) foo.rs -A warnings 2>&1 | grep "warning" )
5
6all: foo
7	test -z '$(OUT)'
8
9# This is just to make sure the above command actually succeeds
10foo:
11	$(RUSTC) foo.rs -A warnings