about summary refs log tree commit diff
path: root/src/test/ui/suggestions/box-future-wrong-output.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-22/+0
2021-10-13Fix incorrect Box::pin suggestionTyler Mandry-0/+22
The suggestion checked if Pin<Box<T>> could be coeerced to the expected type, but did not check predicates created by the coercion. We now look for predicates that definitely cannot be satisfied before giving the suggestion. The suggestion is marked MaybeIncorrect because we allow predicates that are still ambiguous and can't be proven.