-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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 7 pull requests #125456
Rollup of 7 pull requests #125456
Commits on May 17, 2024
-
Add a warning to Delimiter::None that rustc currently does not respec…
…t it. It does not provide the behaviour it is indicated to provide when used in a proc_macro context.
Configuration menu - View commit details
-
Copy full SHA for c2d2df1 - Browse repository at this point
Copy the full SHA c2d2df1View commit details
Commits on May 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f0cb386 - Browse repository at this point
Copy the full SHA f0cb386View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56ad545 - Browse repository at this point
Copy the full SHA 56ad545View commit details
Commits on May 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fc76015 - Browse repository at this point
Copy the full SHA fc76015View commit details -
Configuration menu - View commit details
-
Copy full SHA for f377ea1 - Browse repository at this point
Copy the full SHA f377ea1View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd7e68b - Browse repository at this point
Copy the full SHA dd7e68bView commit details
Commits on May 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9696835 - Browse repository at this point
Copy the full SHA 9696835View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6743fc7 - Browse repository at this point
Copy the full SHA 6743fc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1fa845 - Browse repository at this point
Copy the full SHA b1fa845View commit details -
Rollup merge of rust-lang#122382 - mu001999:dead_code/enhance, r=petr…
…ochenkov Detect unused structs which implement private traits Fixes rust-lang#122361
Configuration menu - View commit details
-
Copy full SHA for c99b3f2 - Browse repository at this point
Copy the full SHA c99b3f2View commit details -
Rollup merge of rust-lang#124389 - CensoredUsername:master, r=petroch…
…enkov Add a warning to proc_macro::Delimiter::None that rustc currently does not respect it. It does not provide the behaviour it is indicated to provide when used in a proc_macro context. This seems to be a bug, (rust-lang#67062), but it is a long standing one, and hard to discover. This pull request adds a warning to inform users of this issue, with a link to the relevant issue, and a version number of the last known affected rustc version.
Configuration menu - View commit details
-
Copy full SHA for f862f6d - Browse repository at this point
Copy the full SHA f862f6dView commit details -
Rollup merge of rust-lang#125224 - Oneirical:sixth, r=jieyouxu
Migrate `run-make/issue-53964` to `rmake` 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). This is extremely similar to rust-lang#125146. Could it be interesting to merge the two in some way? This one seems to do the same thing as the rust-lang#125146, but with an added check that a useless lint is not shown.
Configuration menu - View commit details
-
Copy full SHA for e282b1f - Browse repository at this point
Copy the full SHA e282b1fView commit details -
Rollup merge of rust-lang#125227 - Oneirical:seventh, r=jieyouxu
Migrate `run-make/issue-30063` to `rmake` 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). (Sorry about the [inconvenience](rust-lang#125224 (comment)) of all these PRs, this is the last one batched for today. I will discuss how we can cut these down a bit.) The last check was previously commented out in the Makefile, and I have readded it. If it fails the CI, this can be reconsidered.
Configuration menu - View commit details
-
Copy full SHA for d392d68 - Browse repository at this point
Copy the full SHA d392d68View commit details -
Rollup merge of rust-lang#125336 - momvart:smir-77-intrinsic, r=celinval
Add dedicated definition for intrinsics Closes rust-lang/project-stable-mir#77
Configuration menu - View commit details
-
Copy full SHA for c700590 - Browse repository at this point
Copy the full SHA c700590View commit details -
Rollup merge of rust-lang#125401 - GuillaumeGomez:migrate-rustdoc-scr…
…ape-examples-macros, r=jieyouxu Migrate `run-make/rustdoc-scrape-examples-macros` to `rmake.rs` Part of rust-lang#121876. r? `````@jieyouxu`````
Configuration menu - View commit details
-
Copy full SHA for 72cc4de - Browse repository at this point
Copy the full SHA 72cc4deView commit details -
Rollup merge of rust-lang#125454 - mu001999-contrib:master, r=oli-obk
Improve the doc of query associated_item <!-- If this PR is related to an unstable feature or an otherwise tracked effort, please link to the relevant tracking issue here. If you don't know of a related tracking issue or there are none, feel free to ignore this. This PR will get automatically assigned to a reviewer. In case you would like a specific user to review your work, you can assign it to them by using r? <reviewer name> --> This query also maps from a impl item to the impl item "descriptor". So it's a bit confused, I skipped it cause it doesn't say it contains impl items. ```rust fn associated_item(tcx: TyCtxt<'_>, def_id: LocalDefId) -> ty::AssocItem { let id = tcx.local_def_id_to_hir_id(def_id); let parent_def_id = tcx.hir().get_parent_item(id); let parent_item = tcx.hir().expect_item(parent_def_id.def_id); match parent_item.kind { hir::ItemKind::Impl(impl_) => { if let Some(impl_item_ref) = impl_.items.iter().find(|i| i.id.owner_id.def_id == def_id) { let assoc_item = associated_item_from_impl_item_ref(impl_item_ref); debug_assert_eq!(assoc_item.def_id.expect_local(), def_id); return assoc_item; } } hir::ItemKind::Trait(.., trait_item_refs) => { if let Some(trait_item_ref) = trait_item_refs.iter().find(|i| i.id.owner_id.def_id == def_id) { let assoc_item = associated_item_from_trait_item_ref(trait_item_ref); debug_assert_eq!(assoc_item.def_id.expect_local(), def_id); return assoc_item; } } _ => {} } span_bug!( parent_item.span, "unexpected parent of trait or impl item or item not found: {:?}", parent_item.kind ) } ```
Configuration menu - View commit details
-
Copy full SHA for 55a16a4 - Browse repository at this point
Copy the full SHA 55a16a4View commit details