-
Couldn't load subscription status.
- Fork 13.9k
simplify inject_impl_of_structural_trait #115891
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
Conversation
|
r? @wesleywiser (rustbot has picked a reviewer for you, use r? to override) |
|
Changes to the code generated for builtin derived traits. cc @nnethercote |
c747660 to
490678f
Compare
This comment has been minimized.
This comment has been minimized.
490678f to
0d29398
Compare
|
r? @nnethercote |
|
r=me after squashing the commits. @bors delegate=RalfJung |
|
✌️ @RalfJung, you can now approve this pull request! If @nnethercote told you to " |
0ead26f to
0522bde
Compare
…r=nnethercote simplify inject_impl_of_structural_trait There's a comment at `inject_impl_of_structural_trait` saying we cannot use `TraitDef`, but that comment is outdated -- we *can* use `TraitDef` nowadays since it has the `skip_path_as_bound` flag. (The flag needed some fixing, though.)
…iaskrgr Rollup of 6 pull requests Successful merges: - rust-lang#109409 (Add `minmax{,_by,_by_key}` functions to `core::cmp`) - rust-lang#115494 (get rid of duplicate primitive_docs) - rust-lang#115663 (ci: actions/checkout@v3 to actions/checkout@v4) - rust-lang#115762 (Explain revealing of opaque types in layout_of ParamEnv) - rust-lang#115891 (simplify inject_impl_of_structural_trait) - rust-lang#115932 (Expand infra-ci reviewer list) r? `@ghost` `@rustbot` modify labels: rollup
…iaskrgr Rollup of 6 pull requests Successful merges: - rust-lang#109409 (Add `minmax{,_by,_by_key}` functions to `core::cmp`) - rust-lang#115494 (get rid of duplicate primitive_docs) - rust-lang#115663 (ci: actions/checkout@v3 to actions/checkout@v4) - rust-lang#115762 (Explain revealing of opaque types in layout_of ParamEnv) - rust-lang#115891 (simplify inject_impl_of_structural_trait) - rust-lang#115932 (Expand infra-ci reviewer list) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#115891 - RalfJung:structural-trait-derive, r=nnethercote simplify inject_impl_of_structural_trait There's a comment at `inject_impl_of_structural_trait` saying we cannot use `TraitDef`, but that comment is outdated -- we *can* use `TraitDef` nowadays since it has the `skip_path_as_bound` flag. (The flag needed some fixing, though.)
There's a comment at
inject_impl_of_structural_traitsaying we cannot useTraitDef, but that comment is outdated -- we can useTraitDefnowadays since it has theskip_path_as_boundflag. (The flag needed some fixing, though.)