Merged
Conversation
Retrieving file metadata on Windows now uses GetFileInformationByHandle not GetFileAttributesEx
…ller, r=petrochenkov Apply track_caller to closure on `expect_non_local()` r? `@petrochenkov` Alternatively we could remove the closure by replicating the same logic of `map_id()`. I'm happy to switch to it if you'd like.
Diagnose anonymous lifetimes errors more uniformly between async and regular fns Async fns and regular fns are desugared differently. For the former, we create a generic parameter at HIR level. For the latter, we just create an anonymous region for typeck. I plan to migrate regular fns to the async fn desugaring. Before that, this PR attempts to merge the diagnostics for both cases. r? ```@estebank```
…=Mark-Simulacrum Stabilize `box_into_pin` FCP has been completed: rust-lang#62370 (comment) Also, adds notes as per rust-lang#62370 (comment) Closes rust-lang#62370
…stage-2, r=davidtwco Migrate more diagnostics to use the `#[derive(SessionDiagnostic)]` r? ``@davidtwco``
…ction, r=GuillaumeGomez Arc make_mut doc comment spelling correction.
Fix file metadata documentation for Windows I noticed that the documentation for `fs::symlink_metadata()` and `fs::metadata()` is incorrect; [the underlying code](https://github.com/rust-lang/rust/blob/481db40311cdd241ae4d33f34f2f75732e44d8e8/library/std/src/sys/windows/fs.rs#L334) calls [`GetFileInformationByHandle()`](https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getfileinformationbyhandle) on Windows, not [`GetFileAttributesEx()`](https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getfileattributesexw). There are currently [no uses of `GetFileAttributesEx()` in this repo](https://github.com/rust-lang/rust/search?q=GetFileAttributesEx).
Member
Author
|
@bors r+ rollup=never p=5 |
Collaborator
|
📌 Commit fa79247 has been approved by |
Collaborator
Collaborator
|
☀️ Test successful - checks-actions |
This was referenced Jun 2, 2022
Collaborator
|
Finished benchmarking commit (9598b4b): comparison url. Instruction count
Max RSS (memory usage)Results
CyclesResults
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression Footnotes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Successful merges:
expect_non_local()#96894 (Apply track_caller to closure onexpect_non_local())box_into_pin#97397 (Stabilizebox_into_pin)#[derive(SessionDiagnostic)]#97587 (Migrate more diagnostics to use the#[derive(SessionDiagnostic)])Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup