mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
![]() 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. |
||
---|---|---|
.. | ||
bounds.rs | ||
errors.rs | ||
generics.rs | ||
lint.rs | ||
mod.rs | ||
object_safety.rs |