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

Place *all* rustdoc output in doc/{crate} #9422

Merged
merged 1 commit into from
Sep 23, 2013

Conversation

alexcrichton
Copy link
Member

This makes clicking on the logo do what you'd expect.

bors added a commit that referenced this pull request Sep 23, 2013
This makes clicking on the logo do what you'd expect.
@bors bors closed this Sep 23, 2013
@bors bors merged commit 83499d1 into rust-lang:master Sep 23, 2013
bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 1, 2023
teach `eager_or_lazy` about panicky arithmetic operations

Fixes rust-lang#9422
Fixes rust-lang#9814
Fixes rust-lang#11793

It's a bit sad that we have to do this because arithmetic operations seemed to me like the prime example where a closure would not be necessary, but this has "side effects" (changes behavior when going from lazy to eager) as some of these panic on overflow/underflow if compiled with `-Coverflow-checks` (which is the default in debug mode).
Given the number of backlinks in the mentioned issues, this seems to be a FP that is worth fixing, probably.

changelog: [`unnecessary_lazy_evaluations`]: don't lint if closure has panicky arithmetic operations
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.

3 participants