-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Check FnPtr
/FnDef
built-in fn traits correctly with effects
#119023
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
FnPtr
/FnDef
built-in fn traits correctly with effects
Could not assign reviewer from: |
This comment has been minimized.
This comment has been minimized.
86193f1
to
6993e86
Compare
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, r=me after addressing the nits
compiler/rustc_trait_selection/src/traits/select/candidate_assembly.rs
Outdated
Show resolved
Hide resolved
6993e86
to
faea6ad
Compare
@bors r=fee1-dead |
☀️ Test successful - checks-actions |
Finished benchmarking commit (3f28fe1): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 674.217s -> 673.523s (-0.10%) |
Fn*
family of traits. This unfortunately doesn't support const closures just yet.const_eval_select
. It turns out that thewhere
clause bounds onconst_eval_select
force the effect parameter for both fndefs to betrue
-- with effects, we will leave off any explicit where clauses and register these obligations manually.I can elaborate on (2.) if you think it needs a better explanation!
r? fee1-dead