You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[bug] tauri::command breaks the #![deny(missing_docs)] directive #4550
error: missing documentation for a macro
--> src\commands.rs:14:1
|
14 |#[tauri::command]| ^^^^^^^^^^^^^^^^^
|
note: the lint level is defined here
--> src\main.rs:5:9
|
5 |#![deny(missing_docs)] //<- tauri commands break this | ^^^^^^^^^^^^
= note: this error originates in the attribute macro `tauri::command` (in Nightly builds, run with -Z macro-backtrace for more info)
error: could not compile `app` due to previous error
Additional context
This is a known limitation that requires support from the macro to resolve.
changed the title [-][bug] tauri::command breaks the #![deny(missing_docs)]] directive[/-][+][bug] tauri::command breaks the #![deny(missing_docs)] directive[/+]on Jul 1, 2022
Activity
[-][bug] tauri::command breaks the #![deny(missing_docs)]] directive[/-][+][bug] tauri::command breaks the #![deny(missing_docs)] directive[/+]feat(macros): hide command macro from docs, closes #4550
lucasfernog commentedon Jul 1, 2022
Fix will be available in the next release. For now you can add
#![allow(missing_docs)]to the src/commands.rs file.will-hart commentedon Jul 2, 2022
Awesome, thanks! I love what you're doing with tauri 💯