aboutsummaryrefslogtreecommitdiff
path: root/tests/cfail/resource-not-send-sync.rs
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2018-08-24 14:36:59 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2018-08-24 14:36:59 +0000
commit62a232f5c64890e2d666d23227df1c21675fc863 (patch)
tree78dc3e80181da30d331e0ac3634dfa99c4784498 /tests/cfail/resource-not-send-sync.rs
parent53dbbad891e1c223ba5b1939e114b37667011f11 (diff)
parent90c9f64c5a010944bc1bc4efb308f18e0af9100a (diff)
Merge #85
85: fix master r=japaric a=japaric closes #80 Co-authored-by: Ferdia McKeogh <chocol4te@users.noreply.github.com> Co-authored-by: Jorge Aparicio <jorge@japaric.io>
Diffstat (limited to 'tests/cfail/resource-not-send-sync.rs')
-rw-r--r--tests/cfail/resource-not-send-sync.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/cfail/resource-not-send-sync.rs b/tests/cfail/resource-not-send-sync.rs
index 60a20db..27e5cb0 100644
--- a/tests/cfail/resource-not-send-sync.rs
+++ b/tests/cfail/resource-not-send-sync.rs
@@ -1,7 +1,6 @@
#![deny(unsafe_code)]
#![deny(warnings)]
#![feature(const_fn)]
-#![feature(proc_macro)]
#![no_std]
extern crate cortex_m_rtfm as rtfm;
@@ -47,7 +46,7 @@ fn exti0(_t: &mut Threshold, r: EXTI0::Resources) {
// ERROR resource proxies are not `Send`able across tasks
is_send(&r.SHARED);
- //~^ error the trait bound `*const (): core::marker::Send` is not satisfied
+ //~^ error `*const ()` cannot be sent between threads safely
}
fn exti1(_t: &mut Threshold, _r: EXTI1::Resources) {