Add run-make test testing flag stability
This commit is contained in:
parent
ab419314e9
commit
81da9b48aa
3 changed files with 4 additions and 1 deletions
|
@ -12,7 +12,7 @@ This feature allows you to cause any lint to produce a warning even if the lint
|
|||
#![allow(dead_code)]
|
||||
|
||||
fn dead_function() {}
|
||||
// This would normally not produce a warning even though the
|
||||
// This would normally not produce a warning even though the
|
||||
// function is not used, because dead code is being allowed
|
||||
|
||||
fn main() {}
|
||||
|
|
|
@ -2,3 +2,4 @@
|
|||
|
||||
all:
|
||||
$(RUSTDOC) --output-format=json x.html 2>&1 | diff - output-format-json.stderr
|
||||
$(RUSTC) --force-warns dead_code x.rs 2>&1 | diff - force-warns.stderr
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
error: the `-Z unstable-options` flag must also be passed to enable the flag `--force-warns=lints`
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue