fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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