fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
354 B15 linesraw
1-include ../tools.mk
2
3# Test that -A warnings makes the 'empty trait list for derive' warning go away
4DEP=$(shell $(RUSTC) bar.rs)
5OUT=$(shell $(RUSTC) foo.rs -A warnings 2>&1 | grep "warning" )
6
7all: foo bar
8	test -z '$(OUT)'
9
10# These are just to ensure that the above commands actually work
11bar:
12	$(RUSTC) bar.rs
13
14foo: bar
15	$(RUSTC) foo.rs -A warnings