about summary refs log tree commit diff
path: root/src/test/ui/dep-graph
AgeCommit message (Collapse)AuthorLines
2021-03-22Err if the debugging options are not passed.Camille GILLOT-0/+46
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-07-17Rename TypeckTables to TypeckResults.Valentin Lazureanu-63/+63
2020-02-06Move the `krate` method to Hir and remove the Krate dep nodeJohn Kåre Alsaker-6/+5
2019-03-30Update testsJohn Kåre Alsaker-109/+109
2019-03-18Add load_cached query modifier and keep dep node names consistent with query ↵John Kåre Alsaker-49/+49
names
2019-03-18Define queries using a proc macroJohn Kåre Alsaker-14/+14
2019-03-11Update testsVadim Petrochenkov-47/+47
2018-12-25Remove licensesMark Rousskov-128/+47
2018-09-11stabalize infer outlives requirements (RFC 2093).toidiu-10/+3
Co-authored-by: nikomatsakis
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+770