fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.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