External Publication
Visit Post

Idea: Borrowck Transparent Function Calls

Rust Internals [Unofficial] March 19, 2026
Source
To be clear, I'm not saying it's the right solution. I'm saying it's worth considering. My first instinct is that we should use the same named-subsets mechanism for both private and public functions. But for private helper functions, automatically detecting which subsets they use would not necessarily be a maintenance hazard. Hence, worth considering, and evaluating the trade-offs.

Discussion in the ATmosphere

Loading comments...