Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document when to use #[rustc_inherit_overflow_checks] #13

Open
m-ou-se opened this issue Feb 3, 2021 · 1 comment
Open

Document when to use #[rustc_inherit_overflow_checks] #13

m-ou-se opened this issue Feb 3, 2021 · 1 comment

Comments

@m-ou-se
Copy link
Member

m-ou-se commented Feb 3, 2021

We're using Add:add(..) explicitly in a few places that should probably just use #[rustc_inherit_overflow_checks] instead.

We should document how the attribute works and when to use it.

(cc @eddyb)

@m-ou-se
Copy link
Member Author

m-ou-se commented Feb 3, 2021

See also rust-lang/rust#81721

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

No branches or pull requests

1 participant