about summary refs log tree commit diff
path: root/src/test/ui/issues-71798.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-22/+0
2022-06-21Point at return expression for RPIT-related errorMichael Goulet-0/+3
2022-04-28Revert diagnostic duplication and accidental stabilizationOli Scherer-16/+2
2022-03-28Remove opaque type obligation and just register opaque types as they are ↵Oli Scherer-2/+16
encountered. This also registers obligations for the hidden type immediately.
2022-03-28Revert to inference variable based hidden type computation for RPITOli Scherer-3/+3
2022-03-28Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk"Oli Scherer-4/+4
This reverts commit 6499c5e7fc173a3f55b7a3bd1e6a50e9edef782d, reversing changes made to 78450d2d602b06d9b94349aaf8cece1a4acaf3a8.
2022-02-11Revert "Auto merge of #92007 - oli-obk:lazy_tait2, r=nikomatsakis"Oli Scherer-4/+4
This reverts commit e7cc3bddbe0d0e374d05e7003e662bba1742dbae, reversing changes made to 734368a200904ef9c21db86c595dc04263c87be0.
2022-02-02Lazily resolve type-alias-impl-trait defining usesOli Scherer-4/+4
by using an opaque type obligation to bubble up comparisons between opaque types and other types Also uses proper obligation causes so that the body id works, because out of some reason nll uses body ids for logic instead of just diagnostics.
2021-12-02Update .stderr filesEric Holk-0/+1
2020-10-06Fix tests from rebaseMatthew Jasper-1/+0
2020-10-06Check opaque types satisfy their boundsMatthew Jasper-2/+0
2020-09-02pretty: trim paths of unique symbolsDan Aloni-1/+1
If a symbol name can only be imported from one place for a type, and as long as it was not glob-imported anywhere in the current crate, we can trim its printed path and print only the name. This has wide implications on error messages with types, for example, shortening `std::vec::Vec` to just `Vec`, as long as there is no other `Vec` importable anywhere. This adds a new '-Z trim-diagnostic-paths=false' option to control this feature. On the good path, with no diagnosis printed, we should try to avoid issuing this query, so we need to prevent trimmed_def_paths query on several cases. This change also relies on a previous commit that differentiates between `Debug` and `Display` on various rustc types, where the latter is trimmed and presented to the user and the former is not.
2020-06-25Adds a clearer message for when the async keyword is missing from a functionNell Shamrell-2/+3
Signed-off-by: Nell Shamrell <nellshamrell@gmail.com>
2020-05-02Do not try to find binop method on RHS `TyErr`Esteban Küber-0/+20
Fix #71798.