summary refs log tree commit diff
path: root/src/test/ui/inference/cannot-infer-async-enabled-impl-trait-bindings.stderr
AgeCommit message (Collapse)AuthorLines
2020-10-06Fix tests from rebaseMatthew Jasper-1/+1
2020-10-06Separate bounds and predicates for associated/opaque typesMatthew Jasper-3/+3
2020-09-02pretty: trim paths of unique symbolsDan Aloni-2/+2
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-05-09adjust testsRalf Jung-1/+2
2020-04-11rustc: Add a warning count upon completionRoccoDev-1/+1
2019-08-20--bless post no async_await gates in tests.Mazdak Farrokhzad-2/+2
2019-08-12When needing type annotations in local bindings, account for impl Trait and ↵Esteban Küber-0/+19
closures Do not suggest nonsensical types when the type inference is failing on `impl Trait` or anonymous closures.