Rust Compiler Development Question

⚓ rust    📅 2025-05-16    👤 surdeus    👁️ 4      

surdeus

Warning

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

I am currently reading the Rust Book and I encountered this passage in chapter 4.3 in an example about the difference of two code snippets that are, from a logical pov, the same (and safe, but the compiler refuses one:
"A future version of Rust may be smart enough to let it compile"
So now I'm asking myself: Is there anything like this in the works?
Thanks in advance

2 posts - 2 participants

Read full topic

🏷️ rust_feed