]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #105973 - oli-obk:simplify_callee_checks, r=jackh726
authorMatthias Krüger <matthias.krueger@famsik.de>
Tue, 20 Dec 2022 22:35:17 +0000 (23:35 +0100)
committerGitHub <noreply@github.com>
Tue, 20 Dec 2022 22:35:17 +0000 (23:35 +0100)
commitb68e9945038e660bf91e0d50a8c79fbed7afb115
tree6d3926c281cd34edb58f2db73f9c85c965be04c9
parentb9edcfa055ae72a097f1101c2272b4a99c15d618
parent1c5b53be1c5ea2f95b1b3e4327c69f14127a923c
Rollup merge of #105973 - oli-obk:simplify_callee_checks, r=jackh726

Avoid going through the happy path in case of non-fn builtin calls

No functional change, just doing an early return. The removed comment is not applicable anymore, not every node needs type bindings in the error case. At best this would have been needed to avoid ICEs, but afaict this can't happen anymore today, as we do fallible checks.