-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
feat: implement better error for manual impl of Fn*
traits
#108930
feat: implement better error for manual impl of Fn*
traits
#108930
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
r=me after applying petrochenkov's requested changes. Thank you for looking at this! |
85a6062
to
9ead2d9
Compare
@estebank @petrochenkov I think I implemented all your feedback. |
Just a reminder that |
9ead2d9
to
a30c2c2
Compare
@crlf0710 I am aware of this, just made a mistake lol. Fixed now, thanks for the reminder. |
@bors r+ |
…iaskrgr Rollup of 9 pull requests Successful merges: - rust-lang#106921 (Add documentation about the memory layout of `Cell`) - rust-lang#108828 (Emit alias-eq when equating numeric var and projection) - rust-lang#108834 (Do not ICE when we have fn pointer `Fn` obligations with bound vars in the self type) - rust-lang#108900 (fix(lexer): print whitespace warning for \x0c) - rust-lang#108930 (feat: implement better error for manual impl of `Fn*` traits) - rust-lang#108937 (improve readability of winnowing) - rust-lang#108947 (Don't even try to combine consts with incompatible types) - rust-lang#108976 (Update triagebot rust-analyzer team mention) - rust-lang#108983 (Forbid `#[target_feature]` on safe default implementations) Failed merges: - rust-lang#108950 (Directly construct Inherited in typeck.) r? `@ghost` `@rustbot` modify labels: rollup
Fixes #39259
cc @estebank (you gave me some advice in the linked issue, would you like to review?)