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

fix: change permissions proto package so it doesn't clash with message #198

Merged
merged 3 commits into from
Aug 18, 2023

Conversation

ben-kugler
Copy link
Contributor

@ben-kugler ben-kugler commented Aug 18, 2023

Building these proto's in rust results in a conflict with module naming being the same.

error: module has the same name as its containing module
  --> /Users/benkugler/Documents/GitHub/mr2rs/target/debug/build/mr2rs-d0ae8c49e58f6ed8/out/permissions.rs:9:1
   |
9  | / pub mod permissions {
10 | |     #[derive(serde::Deserialize, serde::Serialize)]
11 | |     #[allow(clippy::derive_partial_eq_without_eq)]
12 | |     #[derive(Clone, PartialEq, ::prost::Oneof)]
...  |
18 | |     }
19 | | }
   | |_^

@ben-kugler ben-kugler merged commit 6c8ae5b into main Aug 18, 2023
7 checks passed
@ben-kugler ben-kugler deleted the feat/permissions-clash-fix branch August 18, 2023 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants