aboutsummaryrefslogtreecommitdiff
path: root/examples/two-tasks.rs
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2017-12-09 15:12:42 +0100
committerJorge Aparicio <jorge@japaric.io>2017-12-09 15:12:42 +0100
commit8f23fdc9340167cf9d6d31a09705369c3b8acccb (patch)
treecbb2d2bae907001afc24fe90db0ee2e104bf8aca /examples/two-tasks.rs
parent9865a7246df289bfa5f65ba47c883c4ce3e108a9 (diff)
deny warnings and unsafe code in tests and examples
Diffstat (limited to 'examples/two-tasks.rs')
-rw-r--r--examples/two-tasks.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/two-tasks.rs b/examples/two-tasks.rs
index 2200e5b..df6e784 100644
--- a/examples/two-tasks.rs
+++ b/examples/two-tasks.rs
@@ -1,5 +1,6 @@
//! Two tasks running at the *same* priority with access to the same resource
#![deny(unsafe_code)]
+#![deny(warnings)]
#![feature(proc_macro)]
#![no_std]