#[macro_use] extern crate eventbus; use eventbus::{Event, EventBus}; struct MyEvent { i: i32 } impl Event for MyEvent { } fn test_hygiene() { let bus = [EventBus::new()]; let mut event = MyEvent { i: 3 }; post_event!(&bus[CANCELLABLE.load(::std::sync::atomic::Ordering::Relaxed)], &mut event, MyEvent); //~ ERROR cannot find value `CANCELLABLE` in this scope }