summary refs log tree commit diff
path: root/src/test/ui/impl-trait/equality.stderr
AgeCommit message (Collapse)AuthorLines
2020-10-17Suggest minimal subset features in `incomplete_features` lintYuki Okushi-0/+1
2020-09-11Make suggestion more completeEsteban Küber-1/+1
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-16warn against 'specialization' featureRalf Jung-1/+10
2020-01-16Account for object safety when suggesting `Box<dyn Trait>`Esteban Küber-1/+1
2020-01-16review commentsEsteban Küber-2/+2
2020-01-16review commentsEsteban Küber-0/+1
2020-01-16review commentsEsteban Küber-1/+1
2020-01-16Account for diverging types in return `impl Trait`Esteban Küber-0/+5
2019-11-18Surround types with backticks in type errorsEsteban Küber-1/+1
2019-11-18Remove E0308 note when primary label has all infoEsteban Küber-3/+0
2019-04-18hide `--explain` hint if error has no extended infoAndy Russell-1/+1
2019-01-20Explain type mismatch cause pointing to return type when it is `impl Trait`Esteban Küber-1/+4
2018-12-25Remove licensesMark Rousskov-2/+2
2018-12-20Point at coercion source on type errors for fn returning `impl Trait`Esteban Küber-0/+3
2018-06-07Add existential type definitonsOliver Schneider-37/+1
2018-03-14update testsGuillaume Gomez-2/+2
2018-02-26Update UI testsVadim Petrochenkov-6/+6
2018-02-25Update ui testsGuillaume Gomez-0/+2
2018-02-01Add filtering options to `rustc_on_unimplemented`Esteban Küber-1/+1
- filter error on the evaluated value of `Self` - filter error on the evaluated value of the type arguments - add argument to include custom note in diagnostic - allow the parser to parse `Self` when processing attributes - add custom message to binops
2017-07-02Revert "Change error count messages"Ariel Ben-Yehuda-1/+1
This reverts commit 5558c64f33446225739c1153b43d2e309bb4f50e.
2017-06-01tests: fix fallout from changing the span of binop errors.Eduard-Mihai Burtescu-2/+2
2017-05-24Rollup merge of #42150 - citizen428:feature/error-count-messages, ↵Mark Simulacrum-1/+1
r=Mark-Simulacrum Change error count messages See #33525 for details. r? @Mark-Simulacrum
2017-05-24Change error count messagesMichael Kohl-1/+1
See #33525 for details.
2017-05-17Add better error message when == operator is badly usedGuillaume Gomez-2/+2
2017-04-10Explicit help message for binop type missmatchEsteban Küber-0/+55
When trying to do a binary operation with missing implementation, for example `1 + Some(2)`, provide an explicit help message: ``` note: no implementation for `{integer} + std::option::Option<{integer}>` ``` Use `rustc_on_unimplemented` for the suggestions. Move cfail test to ui.