diff options
| author | Jorge Aparicio <jorge@japaric.io> | 2018-08-24 16:31:04 +0200 |
|---|---|---|
| committer | Jorge Aparicio <jorge@japaric.io> | 2018-08-24 16:31:04 +0200 |
| commit | abca8299268e55bdb80b649ceb6b0cc5d0f3c34a (patch) | |
| tree | ebd4128dc1904f4adc60fea365f3f9d97620b58c /tests/cfail/resource-not-send-sync.rs | |
| parent | 5a3605050e210ab819af83b59556cfc78a2f667f (diff) | |
more fixes
Diffstat (limited to 'tests/cfail/resource-not-send-sync.rs')
| -rw-r--r-- | tests/cfail/resource-not-send-sync.rs | 3 |
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) { |
