An important part of good proc macros is giving good error messages when they are misused. https://github.com/neon-bindings/neon/pull/1025 introduced the #[neon::export] macro and makes an effort to catch some common traps.
Including FunctionContext with task
Including the context attribute with task
However, these are un-tested. We should add a "compile error" test suite.
An important part of good proc macros is giving good error messages when they are misused. https://github.com/neon-bindings/neon/pull/1025 introduced the
#[neon::export]
macro and makes an effort to catch some common traps.FunctionContext
withtask
context
attribute withtask
However, these are un-tested. We should add a "compile error" test suite.