Review my error

โš“ Rust    ๐Ÿ“… 2025-07-30    ๐Ÿ‘ค surdeus    ๐Ÿ‘๏ธ 14      

surdeus

Warning

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

Info

This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: Review my error

My function definitions are in an external file. Iโ€™ve used mod and called the functions in main(). The function fun_with_return_() is the first one in the external file, and fun_with_return_2_() is the second function in the same file. However, Iโ€™m getting the error: โ€œsimilarly named function fun_with_return_ defined here.โ€

Can you please help me rephrase this error explanation in a clearer and more professional way?

2 posts - 2 participants

Read full topic

๐Ÿท๏ธ Rust_feed