-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Rollup of 5 pull requests #97000
Rollup of 5 pull requests #97000
Conversation
Clarify that when `BorrowedHandle`, `OwnedHandle`, or `HandleOrNull` hold the value `-1`, it always means the current process handle, and not `INVALID_HANDLE_VALUE`.
…rrowed-handle, r=joshtriplett Clarify what values `BorrowedHandle`, `OwnedHandle` etc. can hold. Reword the documentation to clarify that when `BorrowedHandle`, `OwnedHandle`, or `HandleOrNull` hold the value `-1`, it always means the current process handle, and not `INVALID_HANDLE_VALUE`. `-1` should only mean `INVALID_HANDLE_VALUE` after a call to a function documented to return that to report errors, which should lead I/O functions to produce errors rather than succeeding and producing `OwnedHandle` or `BorrowedHandle` values. So if a consumer of an `OwnedHandle` or `BorrowedHandle` ever sees them holding a `-1`, it should always mean the current process handle.
… r=joshtriplett Add test of matches macro for trailing commas Almost all macros are tested for trailing commas. The macro matches! was however not tested. This PR adds that test case. Related to rust-lang#46238
Fix platform support links. Hermitkernel was removed in rust-lang#95299. nvptx was added in rust-lang#95896 without being added to the SUMMARY.
Be more precise than DefPathData::Misc. This variant was used for two unrelated things. Let's make this cleaner.
…illaumeGomez rustdoc: fix GUI crash when searching for magic JS property values
@bors r+ rollup=never p=5 |
📌 Commit 5a111df has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (f001f93): comparison url. Summary: This benchmark run did not return any relevant results. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
Successful merges:
BorrowedHandle
,OwnedHandle
etc. can hold. #96932 (Clarify what valuesBorrowedHandle
,OwnedHandle
etc. can hold.)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup