Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macro report error code: 5, kind: PermissionDenied #80

Closed
Jzow opened this issue Aug 18, 2023 · 1 comment
Closed

Macro report error code: 5, kind: PermissionDenied #80

Jzow opened this issue Aug 18, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Jzow
Copy link
Member

Jzow commented Aug 18, 2023

error: custom attribute panicked
  --> example\src\main.rs:11:1
   |
11 | #[summer_boot::auto_scan]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: message: called `Result::unwrap()` on an `Err` value: Os { code: 5, kind: PermissionDenied, message: "拒绝访问。" }

error[E0601]: `main` function not found in crate `example`
  --> example\src\main.rs:21:2
   |
21 | }
   |  ^ consider adding a `main` function to `example\src\main.rs`

For more information about this error, try `rustc --explain E0601`.
error: could not compile `example` (bin "example") due to 2 previous errors
@Jzow Jzow added the bug Something isn't working label Aug 18, 2023
Jzow added a commit that referenced this issue Aug 19, 2023
Fix bug in #80 update crate
@Jzow
Copy link
Member Author

Jzow commented Aug 19, 2023

Fixd

@Jzow Jzow closed this as completed Aug 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant