]> git.lizzy.rs Git - rust.git/commit - compiler/rustc_parse/src/lexer/unicode_chars.rs
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)
commit685c77305c4109508b52d6642a7d11b9005a0abb
treea00ed2df2690aaf64a4a6eaa471ccb74e5743959
parentf7066f79d7abbeb5c9e6531f3e459eafaddec4d8
parent0be510ee7171c1498b1fcb4278dfa9976154c7bf
Rollup merge of #106753 - compiler-errors:rpitit-not-suggestable, r=spastorino

Make sure that RPITITs are not considered suggestable

Makes no sense to suggest `where impl Future<Output = ()>: Send`, for example.
compiler/rustc_middle/src/ty/diagnostics.rs