]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #106753 - compiler-errors:rpitit-not-suggestable, r=spastorino
authorMichael Goulet <michael@errs.io>
Wed, 18 Jan 2023 23:00:28 +0000 (18:00 -0500)
committerGitHub <noreply@github.com>
Wed, 18 Jan 2023 23:00:28 +0000 (18:00 -0500)
Make sure that RPITITs are not considered suggestable

Makes no sense to suggest `where impl Future<Output = ()>: Send`, for example.

1  2 
compiler/rustc_middle/src/ty/diagnostics.rs