Skip to content

Conversation

@copybara-service
Copy link

Add nodiscard to generated APIs.

This covers two types of failures:

  • Methods that are logically const and failure to consume the result indicates a bug
    (an unnecessary call, etc.)
  • Methods that return significant errors (failure to parse, etc.) that should not be
    unintentionally ignored.

@copybara-service copybara-service bot force-pushed the test_845512987 branch 3 times, most recently from 0135e44 to 37bb620 Compare January 5, 2026 19:48
This covers two types of failures:
* Methods that are logically const and failure to consume the result indicates a bug
  (an unnecessary call, etc.)
* Methods that return significant errors (failure to parse, etc.) that should not be
  unintentionally ignored.

PiperOrigin-RevId: 852406706
@copybara-service copybara-service bot merged commit 1a7e200 into main Jan 5, 2026
@copybara-service copybara-service bot deleted the test_845512987 branch January 5, 2026 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant