ErrLookup › neon-bindings/neon
neon-bindings/neon
Rust bindings for writing safe and fast native Node.js modules. · Rust · 110 source files
Analyzed at 38960e4381 on 2026-09-13. 47 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Expected an owned `Channel` instead of a context reference. | validation | error | rust, proc-macro, neon, async, channel, compile-time |
| Context must be a `&mut` reference. | validation | error | rust, neon, proc-macro, constructor, type-mismatch |
| Context is not available in async functions. Try a… | validation | error | rust, proc-macro, neon, async, channel, compile-time |
| Constructor cannot have a `self` receiver | validation | error | rust, neon, proc-macro, constructor, signature |
| class must be implemented for a type name | panic | error | rust, macros, neon, compile-time |
| Expected a context argument. Try removing the `context`… | validation | error | rust, neon, proc-macro, constructor, missing-argument |
| Failed to unwrap napi_external as Box | panic | error | |
| Expected `&mut Cx` instead of a `Channel` reference. | validation | error | rust, neon, compile-time, macro, napi |
| u32 overflow ocurred in Lifecycle InstanceId | panic | error | rust, neon, overflow, workers |
| Unexpected second receiver argument. | validation | error | rust, proc-macro, neon, signature, compile-time |
| Failed to find N-API version | panic | error | |
| Attempted to settle JsFuture multiple times | panic | error | |
| Expected an owned `Channel` instead of a reference. | validation | error | rust, neon, compile-time, macro, async |
| Attempted to dereference a `neon::handle::Root` from the… | panic | error | rust, neon, workers, lifecycle |
| Must be a `&mut` reference. | validation | error | rust, neon, compile-time, macro, context-argument |
| expected JsBuffer | validation | error | rust, neon, arraybuffer, extraction, type-error |
| Node-API symbol has not been loaded | panic | critical | rust, neon, node-api, linking |
| attempt to reinitialize Local during initialization | panic | error | rust, neon, initialization, thread-local |
| Cannot combine `async fn` with `#[neon(async)]` attribute | validation | error | rust, proc-macro, neon, async, attribute-conflict, compile-time |
| expected JsTypedArray | validation | error | rust, neon, typedarray, extraction, type-error |
| Expected a context argument after `&self` when using… | validation | error | rust, proc-macro, neon, context, compile-time |
| Must settle a `neon::types::JsPromise` with… | panic | error | rust, neon, promises, async |
| Failed to load N-API symbols | panic | error | |
| try_catch: unexpected Err(Throw) when VM is not in a… | panic | error | rust, neon, panics, internals |
| Must call `into_inner` or `drop` on `neon::handle::Root` | panic | error | rust, neon, memory-leak, lifecycle |
| Only one `new` constructor is allowed in a class. | validation | error | rust, neon, proc-macro, constructor, duplicate |
| Failed to generate a Neon module type tag | panic | error | |
| Context parameters must be a `&mut` reference. Try `&mut… | validation | error | rust, neon, compile-time, macro, napi |
| in classes must take `self` by value, not `&self` or `&mut… | validation | error | rust, neon, macros, async, self-receiver |
| Unexpected `Channel` in sync method. Use `&mut… | validation | error | rust, neon, compile-time, macro, async |
| >= i32::MAX | panic | error | rust, neon, strings, limits |
| Exported functions cannot receive `self`. | validation | error | rust, neon, macros, export, self-receiver |
| Unknown class attribute | validation | error | rust, proc-macro, neon, attribute-parsing |
| Failed to downcast Any | panic | error | |
| Class methods must have a `self` receiver (`&self` or `&mut… | validation | error | rust, neon, macros, self-receiver, method-signature |
| The `neon::main` macro must only be used once | panic | error | rust, neon, macros, module-init |
| in classes must take `self` as their first parameter. | validation | error | rust, neon, macros, async, missing-self |
| Unknown attribute | validation | error | rust, proc-macro, neon, attribute-parsing |
| Cannot combine async method with `#[neon(task)]` attribute | validation | error | rust, neon, macros, async, attribute-conflict |
| `neon::export` can only be applied to functions, consts… | validation | error | rust, neon, macros, export, unsupported-item |
| Expected `&mut Cx` instead of `Channel`. | validation | error | rust, neon, proc-macro, type-mismatch |
| Expected type name | validation | error | rust, proc-macro, neon, self-type, compile-time |
| Only one `finalize` method is allowed in a class. | validation | error | rust, proc-macro, neon, duplicate-method, compile-time |
| Constructor methods cannot have a `self` receiver | validation | error | rust, neon, macros, constructor, self-receiver |
| Expected 'class' in export attribute | validation | error | rust, proc-macro, neon, attribute-syntax, compile-time |
| Class export can only be applied to named types | validation | error | rust, proc-macro, neon, self-type, compile-time |
| `neon::class` can only contain `const` and `fn` items. | validation | error | rust, proc-macro, neon, unsupported-item, compile-time |