diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2023-10-04 01:10:51 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2023-10-30 22:12:07 +0000 |
| commit | 17a6ae2df3bc3344c87aacdaea1af84bb6e48582 (patch) | |
| tree | 6823ba08dfd61f839a0eacc676e1dd8b398c1369 /tests/rustdoc-js-std/parser-generics.js | |
| parent | 6d1fc53cf4f61b0dce5fc84cebae3b9fb8a45436 (diff) | |
| download | rust-17a6ae2df3bc3344c87aacdaea1af84bb6e48582.tar.gz rust-17a6ae2df3bc3344c87aacdaea1af84bb6e48582.zip | |
Detect object safety errors when assoc type is missing
When an associated type with GATs isn't specified in a `dyn Trait`, emit an object safety error instead of only complaining about the missing associated type, as it will lead the user down a path of three different errors before letting them know that what they were trying to do is impossible to begin with. Fix #103155.
Diffstat (limited to 'tests/rustdoc-js-std/parser-generics.js')
0 files changed, 0 insertions, 0 deletions
