-
Couldn't load subscription status.
- Fork 13.9k
Rollup of 5 pull requests #99493
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 #99493
Conversation
Usually opening a file handle with access set to metadata only will always succeed, even if the file is locked. However some special system files, such as `C:\hiberfil.sys`, are locked by the system in a way that denies even that. So as a fallback we try reading the cached metadata from the directory.
The file it's testing does not exist in the CI environment.
Signed-off-by: Yuki Okushi <[email protected]>
…nding, r=estebank Suggest returning local on "expected `ty`, found `()`" due to expr-less block Putting this up for _initial_ review. Notably, this doesn't consider if the value has possibly been moved, or whether the type is `Copy`. It also provides a structured suggestion if there's one "preferred" binding that matches the type (i.e. one binding in the block or its parent), otherwise it just points them out if there's fewer than 4 of them. Fixes rust-lang#98177 r? `@estebank`
Windows: Use `FindFirstFileW` for getting the metadata of locked system files Fixes rust-lang#96980 Usually opening a file handle with access set to metadata only will always succeed, even if the file is locked. However some special system files, such as `C:\hiberfil.sys`, are locked by the system in a way that denies even that. So as a fallback we try reading the cached metadata from the directory. Note that the test is a bit iffy. I don't know if `hiberfil.sys` actually exists in the CI. r? rust-lang/libs
…ler-errors Erase regions before comparing signatures of foreign fns. Fixes rust-lang#99276 The version with explicit lifetimes is probably tracked in another bug, but I could not find it.
int_macros was only using to_xe_bytes_doc and not from_xe_bytes_doc typo in doc [here](https://doc.rust-lang.org/std/primitive.isize.html#method.from_ne_bytes) "returns" => "takes" `@rustbot` label +T-rustdoc
…rrors Add regression test for rust-lang#71547 Closes rust-lang#71547 r? `@compiler-errors` Signed-off-by: Yuki Okushi <[email protected]>
|
@bors r+ rollup=never p=5 |
|
☀️ Test successful - checks-actions |
|
Finished benchmarking commit (748cb1f): comparison url. Instruction countThis benchmark run did not return any relevant results for this metric. 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 |
Successful merges:
ty, found()" due to expr-less block #98784 (Suggest returning local on "expectedty, found()" due to expr-less block)FindFirstFileWfor getting the metadata of locked system files #98916 (Windows: UseFindFirstFileWfor getting the metadata of locked system files)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup