Registry Mirror
Skip to content

Conversation

@ghost

@ghost ghost commented Mar 27, 2013

Copy link
Copy Markdown

No description provided.

@ghost

ghost commented Mar 28, 2013

Copy link
Copy Markdown
Author

Rebased against incoming, should be ready for another try.

@bors bors closed this Mar 28, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jun 23, 2020
…ansch,oli-obk

New lint: suggest `ptr::read` instead of `mem::replace(..., uninitialized())`

resolves: rust-lang#5575

changelog: improvements to `MEM_REPLACE_WITH_UNINIT`:
- add a new test case in `tests/ui/repl_uninit.rs` to cover the case of replacing with `mem::MaybeUninit::uninit().assume_init()`.
- modify the existing `MEM_REPLACE_WITH_UNINIT` when replacing with `mem::uninitialized` to suggest using `ptr::read` instead.
- lint with `MEM_REPLACE_WITH_UNINIT` when replacing with `mem::MaybeUninit::uninit().assume_init()`
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
…und-for-perms-errors

Remove the premissions-misconifguration bug workarounds on CI
RalfJung added a commit to RalfJung/rust that referenced this pull request Nov 8, 2026
Check whether x86 SHA extension is available instead of asserting it
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.

2 participants