Too many super keywords included

⚓ rust    📅 2025-05-07    👤 surdeus    👁️ 5      

surdeus

Warning

This post was published 55 days ago. The information described in this article may have changed.

I have in my file cdemodc_c.rs, at the top of it line:

//cdemodc_c.rs
use super::bindings_included::*;

The structure of my project is:

Toomanysuper

I'm getting error:

Toomanysuper_1

Basically, the problem is that in the cdemodc_c.rs is main function which I cannot start debugging.
This is the content of Cargo.toml

Toomanysuper_2

So, to summarize:

  1. How to work around the fact that clearly there is file bindings_included yet system either doesn't see it (when I use create instead of super) or tells me that I use super too many times even though I only have one super keyword
  2. How to tell the system that the main is in cdemodc_c and use this main not the main functin from main file that is used by the lib

Any help appreciated

2 posts - 2 participants

Read full topic

🏷️ rust_feed