Skip to content
Discussion options

You must be logged in to vote

No. We need to know at runtime if the value has been inspected, but must_use is purely a (best effort) compile-time mechanism.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jRimbault
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants