rust/compiler/rustc_trait_selection/src
bors a395214a3a Auto merge of #116405 - estebank:issue-103155, r=davidtwco
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.
2023-10-30 22:47:48 +00:00
..
solve Auto merge of #116447 - oli-obk:gen_fn, r=compiler-errors 2023-10-29 00:03:52 +00:00
traits Auto merge of #116405 - estebank:issue-103155, r=davidtwco 2023-10-30 22:47:48 +00:00
errors.rs Migrate a trait selection error to use diagnostic translation 2023-08-07 05:26:38 +00:00
infer.rs Remove constness from TraitPredicate 2023-08-02 15:38:00 +00:00
lib.rs rustdoc: remove rust logo from non-Rust crates 2023-10-08 20:17:53 -07:00