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
When Rust sees a .rs file with the same name as a .rc file it automatically builds it as the top level module of the crate, so if you also add 'mod main' it will include the contents of 'main.rs' a second time.
This error happens a lot so this behavior is going to change in #2176
Create main.rs:
main.rc:
Then run:
My rustc was built from git commit 473030.
The text was updated successfully, but these errors were encountered: