]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #106887 - compiler-errors:suggest-types-more, r=oli-obk
authorMichael Goulet <michael@errs.io>
Fri, 3 Feb 2023 22:15:21 +0000 (14:15 -0800)
committerGitHub <noreply@github.com>
Fri, 3 Feb 2023 22:15:21 +0000 (14:15 -0800)
Make const/fn return params more suggestable

Bumps const item type suggestions to MachineApplicable (fixes #106843), also replaces FnDef with FnPtr items in return type suggestions to make more things suggestable.

r? diagnostics


Trivial merge