about summary refs log tree commit diff
path: root/src/test/ui/error-codes/e0119
AgeCommit message (Collapse)AuthorLines
2020-12-04 Rename `AllocRef` to `Allocator` and `(de)alloc` to `(de)allocate`Tim Diekmann-1/+1
2020-10-25Merge remote-tracking branch 'upstream/master' into box-allocTim Diekmann-1/+1
2020-10-17Fix grammar in note for orphan-rule error [E0210]Will Crozier-1/+1
2020-10-07Support custom allocators in `Box`Tim Diekmann-2/+2
Remove `Box::leak_with_alloc` Add leak-test for box with allocator Rename `AllocErr` to `AllocError` in leak-test Add `Box::alloc` and adjust examples to use the new API
2020-09-03specialization_graph: avoid trimmed paths for OverlapErrorDan Aloni-8/+8
2020-09-02pretty: trim paths of unique symbolsDan Aloni-20/+20
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-01-25Don't use spaces before type ascription like colonsOliver Scherer-1/+1
2019-11-10Improve coherence errors for wrong type orderOhad Ravid-0/+1
2019-10-31Stabilize the `re_rebalance_coherence` featureOhad Ravid-7/+10
2019-10-28Use more targeted spans for orphan rule errorsEsteban Küber-4/+4
2019-07-28Remove anonymous_parameters from unrelated testDavid Tolnay-1/+1
2019-05-24Move error code tests to error code foldervarkor-0/+264