Skip to content

Conversation

@rkbodenner
Copy link
Contributor

A newbie should now be able to follow the README in docs/ to generate just the documentation.

@thestinger
Copy link
Contributor

Going to land this in #7270 with the other documentation pull requests to help clear the queue faster.

@thestinger thestinger closed this Jun 21, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jun 30, 2022
Don't lint `while_let_loop` when significant drop order would change

fixes rust-lang#7226
fixes rust-lang#7913
fixes rust-lang#5717

For rust-lang#5717 it may not stay fully fixed. This is only completely fixed right now due to all the allowed drop impls have `#[may_dangle]` on their drop impls. This may get changed in the future based on how significant drops are determined, but the example listed with `RefCell` shouldn't break.

changelog: Don't lint `while_let_loop` when the order of significant drops would change
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