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
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.
The text was updated successfully, but these errors were encountered:
will-hart
changed the title
[bug] tauri::command breaks the #![deny(missing_docs)]] directive
[bug] tauri::command breaks the #![deny(missing_docs)] directive
Jul 1, 2022
Describe the bug
I am unable to include the
#![deny(missing_docs)]
directive in a tauri application that uses tauri commands.Reproduction
#![deny(missing_docs)]
at the top ofmain.rs
#[derive(tauri::command)]
, with or without documentationExpected behavior
The application compiles without errors.
Platform and versions
Stack trace
Additional context
This is a known limitation that requires support from the macro to resolve.
The text was updated successfully, but these errors were encountered: