about summary refs log tree commit diff
path: root/src/test/ui/impl-trait/issues
AgeCommit message (Collapse)AuthorLines
2021-03-15Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no ↵Oli Scherer-7/+76
actual changes in behaviour This makes `type_alias_impl_trait` not actually do anything anymore
2020-11-16Add two regression testsAlex Macleod-0/+90
For #78721 and #78722
2020-10-18Add test for issue-70877Yuki Okushi-0/+53
2020-10-09Add a regression test for issue-65581Yuki Okushi-0/+33
2020-09-02pretty: trim paths of unique symbolsDan Aloni-4/+4
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-15review commentsEsteban Küber-2/+2
2020-06-15Expand "recursive opaque type" diagnosticEsteban Küber-10/+18
Fix #70968, partially address #66523.
2020-02-28keep predicate order and tweak outputEsteban Küber-3/+5
2020-02-28Tweak wordingEsteban Küber-1/+1
2020-02-28Mention the full path of the implementing traitEsteban Küber-1/+1
2020-02-28On single local candidate, use span labelEsteban Küber-2/+3
2020-01-08Unify output of "variant not found" errorsEsteban Küber-2/+2
2019-11-08Rollup merge of #65785 - Centril:compat-to-error-2, r=oli-obkMazdak Farrokhzad-175/+36
Transition future compat lints to {ERROR, DENY} - Take 2 Follow up to https://github.com/rust-lang/rust/pull/63247 implementing https://github.com/rust-lang/rust/pull/63247#issuecomment-536295992. - `legacy_ctor_visibility` (ERROR) -- closes #39207 - `legacy_directory_ownership` (ERROR) -- closes #37872 - `safe_extern_static` (ERROR) -- closes #36247 - `parenthesized_params_in_types_and_modules` (ERROR) -- closes #42238 - `duplicate_macro_exports` (ERROR) - `nested_impl_trait` (ERROR) -- closes #59014 - `ill_formed_attribute_input` (DENY) -- transitions #57571 - `patterns_in_fns_without_body` (DENY) -- transitions #35203 r? @varkor cc @petrochenkov
2019-11-06nested_impl_trait -> errorMazdak Farrokhzad-175/+36
2019-11-04Use check-pass in ui tests where appropriateTomasz Miąsko-5/+5
2019-10-26Add detailed explaination for E0666Sydney Acksman-0/+1
2019-10-24Changed APIT with explicit generic args span to specific arg spansSydney Acksman-4/+6
2019-10-20Improve error message for APIT with explicit generic parametersvarkor-4/+4
This is disallowed with type or const generics.
2019-09-09Auto merge of #64237 - estebank:tweak-method-not-found, r=Centrilbors-1/+1
Give method not found a primary span label
2019-09-08Give method not found a primary span labelEsteban Küber-1/+1
2019-09-08Update test stderr with results of enabling unused lintsMark Rousskov-2/+2
2019-08-02Update syntax in existing testsvarkor-2/+2
2019-07-18Self-referencial type renamed to recursive type.Giles Cope-2/+2
2019-07-03Migrate compile-pass annotations to build-passYuki Okushi-5/+5
2019-06-03Add ui/impl-trait/issues foldervarkor-0/+466