-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Add label for generic arg (+ APIT) and RPIT callables in label_fn_like
#99131
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
r? @cjgillot (rust-highfive has picked a reviewer for you, use r? to override) |
label_fn_like
label_fn_like
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @compiler-errors. This looks good. I left a few questions.
--> $SRC_DIR/core/src/ops/function.rs:LL:COL | ||
| | ||
LL | extern "rust-call" fn call_mut(&mut self, args: Args) -> Self::Output; | ||
| ^^^^^^^^ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we print something here? Point to where the impl for s
comes from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a bit of work to do so, but done!
74e755c
to
e0d1fca
Compare
@rustbot ready |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me with an extra comment.
☔ The latest upstream changes (presumably #99231) made this pull request unmergeable. Please resolve the merge conflicts. |
e0d1fca
to
d25abdc
Compare
@bors r=cjgillot |
Rollup of 6 pull requests Successful merges: - rust-lang#99113 (Simplify [a]rc code a little) - rust-lang#99131 (Add label for generic arg (+ APIT) and RPIT callables in `label_fn_like`) - rust-lang#99237 (removed unused CSS and unused HTML IDs) - rust-lang#99239 (Add myself to the set of people notified when MIR changes.) - rust-lang#99241 (Remove comment referring to constness.rs) - rust-lang#99257 (Add regression test for rust-lang#89436) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This is amazing, thank you so much!! |
…ler-errors Fix `ClosureKind::to_def_id` `Fn` and `FnOnce` were mixed up in rust-lang#99131.
…ler-errors Fix `ClosureKind::to_def_id` `Fn` and `FnOnce` were mixed up in rust-lang#99131.
…ler-errors Fix `ClosureKind::to_def_id` `Fn` and `FnOnce` were mixed up in rust-lang#99131.
Fixes #98308