This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Description
Expected Behavior
If used inside lib.rs with #[paw::main] pub fn main(...) { ... } it should retain the pub keyword to allow calling from main.rs.
Current Behavior
error[E0603]: function `main` is private
--> cli/src/main.rs:2:20
|
2 | cbor_diag_cli::main();
| ^^^^ private function
|
note: the function `main` is defined here
--> cli/src/lib.rs:95:1
|
95 | #[paw::main]
| ^^^^^^^^^^^^