aboutsummaryrefslogtreecommitdiff
path: root/tests/cfail/wrong-threshold.rs
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <jorge@japaric.io> 2017-12-09 15:12:42 +0100
committerGravatar Jorge Aparicio <jorge@japaric.io> 2017-12-09 15:12:42 +0100
commit8f23fdc9340167cf9d6d31a09705369c3b8acccb (patch)
treecbb2d2bae907001afc24fe90db0ee2e104bf8aca /tests/cfail/wrong-threshold.rs
parent9865a7246df289bfa5f65ba47c883c4ce3e108a9 (diff)
downloadrtic-8f23fdc9340167cf9d6d31a09705369c3b8acccb.tar.gz
rtic-8f23fdc9340167cf9d6d31a09705369c3b8acccb.tar.zst
rtic-8f23fdc9340167cf9d6d31a09705369c3b8acccb.zip
deny warnings and unsafe code in tests and examples
Diffstat (limited to '')
-rw-r--r--tests/cfail/wrong-threshold.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/cfail/wrong-threshold.rs b/tests/cfail/wrong-threshold.rs
index b9740715..149f357d 100644
--- a/tests/cfail/wrong-threshold.rs
+++ b/tests/cfail/wrong-threshold.rs
@@ -1,3 +1,4 @@
+#![deny(unsafe_code)]
#![deny(warnings)]
#![feature(proc_macro)]
#![no_std]