-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 10 pull requests #126979
Rollup of 10 pull requests #126979
Commits on Jun 25, 2024
-
Change E0369 diagnostic give note information for foreign items.
Make it easy for developers to understand why the binop cannot be applied. fixes rust-lang#125631
Configuration menu - View commit details
-
Copy full SHA for 2a6a423 - Browse repository at this point
Copy the full SHA 2a6a423View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9a3423 - Browse repository at this point
Copy the full SHA d9a3423View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6074ff - Browse repository at this point
Copy the full SHA b6074ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ba0a84 - Browse repository at this point
Copy the full SHA 6ba0a84View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe2406b - Browse repository at this point
Copy the full SHA fe2406bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee529b7 - Browse repository at this point
Copy the full SHA ee529b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6402909 - Browse repository at this point
Copy the full SHA 6402909View commit details -
fix Drop items getting leaked in Filter::next_chunk
The optimization only makes sense for non-drop elements anyway. Use the default implementation for items that are Drop instead. It also simplifies the implementation.
Configuration menu - View commit details
-
Copy full SHA for 133e7b1 - Browse repository at this point
Copy the full SHA 133e7b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2be2d77 - Browse repository at this point
Copy the full SHA 2be2d77View commit details -
regression test for leaks in the the Filter::next_chunk implementation
previously next_chunk would forget items rejected by the filter
Configuration menu - View commit details
-
Copy full SHA for 0d7aef9 - Browse repository at this point
Copy the full SHA 0d7aef9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 275d922 - Browse repository at this point
Copy the full SHA 275d922View commit details -
Bump black, ruff and platformdirs
Mainly because I encountered the following error, and we have no reason to prevent our upgrade. ``` ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. virtualenv 20.25.3 requires platformdirs<5,>=3.9.1, but you have platformdirs 3.6.0 which is incompatible. ```
Configuration menu - View commit details
-
Copy full SHA for efa48bf - Browse repository at this point
Copy the full SHA efa48bfView commit details -
Fix a span in
parse_ty_bare_fn
.It currently goes one token too far. Example: line 259 of `tests/ui/abi/compatibility.rs`: ``` test_abi_compatible!(fn_fn, fn(), fn(i32) -> i32); ``` This commit changes the span for the second element from `fn(),` to `fn()`, i.e. removes the extraneous comma.
Configuration menu - View commit details
-
Copy full SHA for cf0251d - Browse repository at this point
Copy the full SHA cf0251dView commit details
Commits on Jun 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0addda6 - Browse repository at this point
Copy the full SHA 0addda6View commit details -
Rollup merge of rust-lang#126724 - nnethercote:fix-parse_ty_bare_fn-s…
…pan, r=compiler-errors Fix a span in `parse_ty_bare_fn`. It currently goes one token too far. Example: line 259 of `tests/ui/abi/compatibility.rs`: ``` test_abi_compatible!(fn_fn, fn(), fn(i32) -> i32); ``` This commit changes the span for the second element from `fn(),` to `fn()`, i.e. removes the extraneous comma. This doesn't affect any tests. I found it while debugging some other code. Not a big deal but an easy fix so I figure it worth doing. r? ``@spastorino``
Configuration menu - View commit details
-
Copy full SHA for dd6b046 - Browse repository at this point
Copy the full SHA dd6b046View commit details -
Rollup merge of rust-lang#126812 - compiler-errors:tcx-cx, r=lcnr
Rename `tcx` to `cx` in new solver generic code self-explanatory, should be last major churn-y rename r? lcnr
Configuration menu - View commit details
-
Copy full SHA for dc22ffc - Browse repository at this point
Copy the full SHA dc22ffcView commit details -
Rollup merge of rust-lang#126879 - the8472:next-chunk-filter-drop, r=…
…cuviper fix Drop items getting leaked in Filter::next_chunk The optimization only makes sense for non-drop elements anyway. Use the default implementation for items that are Drop instead. It also simplifies the implementation. fixes rust-lang#126872 tracking issue rust-lang#98326
Configuration menu - View commit details
-
Copy full SHA for cf22be1 - Browse repository at this point
Copy the full SHA cf22be1View commit details -
Rollup merge of rust-lang#126925 - surechen:fix_125631, r=compiler-er…
…rors Change E0369 to give note informations for foreign items. Change E0369 to give note informations for foreign items. Make it easy for developers to understand why the binop cannot be applied. fixes rust-lang#125631
Configuration menu - View commit details
-
Copy full SHA for 95332b8 - Browse repository at this point
Copy the full SHA 95332b8View commit details -
Rollup merge of rust-lang#126938 - RalfJung:link_section, r=compiler-…
…errors miri: make sure we can find link_section statics even for the local crate Miri needs some way to iterate all the exported functions and "used" statics of all crates. For dependency crates, this already works fine since we can overwrite the query resonsible for computing `exported_symbols`, but it turns out for local binary crates this does not work: for binaries, `reachable_set` skips a lot of its logic and only checks `contains_extern_indicator()` and `RUSTC_STD_INTERNAL_SYMBOL`. Other flags like `CodegenFnAttrFlags::USED` are entirely ignored. This PR proposes to use the same check, `has_custom_linkage`, in binaries that we already use to drive the main workqueue of the reachability recursive traversal. I have no idea why binaries used a slightly different check that ignores `USED` -- was that deliberate or does it just not matter most of the time?
Configuration menu - View commit details
-
Copy full SHA for 5c4ede8 - Browse repository at this point
Copy the full SHA 5c4ede8View commit details -
Rollup merge of rust-lang#126954 - petrochenkov:globamb, r=compiler-e…
…rrors resolve: Tweak some naming around import ambiguities
Configuration menu - View commit details
-
Copy full SHA for 8b3bbee - Browse repository at this point
Copy the full SHA 8b3bbeeView commit details -
Rollup merge of rust-lang#126964 - Oneirical:total-catestrophe, r=Kobzol
Migrate `lto-empty`, `invalid-so` and `issue-20626` `run-make` tests to rmake.rs Part of rust-lang#121876 and the associated [Google Summer of Code project](https://blog.rust-lang.org/2024/05/01/gsoc-2024-selected-projects.html).
Configuration menu - View commit details
-
Copy full SHA for bf8da39 - Browse repository at this point
Copy the full SHA bf8da39View commit details -
Rollup merge of rust-lang#126968 - lqd:issue-126670, r=compiler-errors
Don't ICE during RPITIT refinement checking for resolution errors after normalization rust-lang#126670 shows a case where resolution errors after normalization can happen during RPITIT refinement checking. Our tests didn't reach this path before, and we explicitly ICEd until we had a test. We can now delay a bug since we're sure it is reachable and have the test from the isue. The comment I added likely still needs more expert wordsmithing. r? ``@compiler-errors`` who's making me work during vacation (j/k). Fixes rust-lang#126670
Configuration menu - View commit details
-
Copy full SHA for 8c6c6a7 - Browse repository at this point
Copy the full SHA 8c6c6a7View commit details -
Rollup merge of rust-lang#126971 - DianQK:bump, r=Kobzol
Bump black, ruff and platformdirs Mainly because I encountered the following error, and we have no reason to prevent our upgrade. ``` ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. virtualenv 20.25.3 requires platformdirs<5,>=3.9.1, but you have platformdirs 3.6.0 which is incompatible. ``` r? `@Kobzol`
Configuration menu - View commit details
-
Copy full SHA for ee07d90 - Browse repository at this point
Copy the full SHA ee07d90View commit details -
Rollup merge of rust-lang#126973 - chenyukang:yukang-fix-126756-unsaf…
…e-suggestion-error, r=spastorino Fix bad replacement for unsafe extern block suggestion Fixes rust-lang#126756 r? ``@spastorino`` link rust-lang#123743
Configuration menu - View commit details
-
Copy full SHA for b272086 - Browse repository at this point
Copy the full SHA b272086View commit details