about summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0746.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-18/+0
2020-01-16Make `impl Trait` suggestion in E0746 `MachineApplicable`Esteban Küber-0/+2
2020-01-16Elide E0308 errors in favor of E0746Esteban Küber-3/+2
When a type error involves a `dyn Trait` as the return type, do not emit the type error, as the "return type is not `Sized`" error will provide enough information to the user.
2020-01-16Specific error for unsized `dyn Trait` return typeEsteban Küber-0/+17
Suggest `impl Trait` when possible, and `Box<dyn Trait>` otherwise.