Files
rust/compiler
bors 23ee2af2f7 Auto merge of #109788 - compiler-errors:trait-item-from-non-trait, r=petrochenkov
More descriptive error when qself path doesnt have a trait on the RHS of `as`

`<Ty as Enum>::Assoc` should report that `Enum` is a trait. Main question is whether to eagerly report the error, or raise it with `return Err(..)` -- i'll note that in an inline comment though.

cc `@GuillaumeGomez` who said this came up at a Paris Rust meetup.

r? `@petrochenkov`
2023-04-07 20:40:05 +00:00
..
2023-03-11 10:53:47 -06:00
2023-04-04 12:38:06 -07:00
2023-03-27 18:58:07 +00:00
2023-04-06 09:34:16 +01:00
2023-04-03 15:59:21 +00:00
2023-03-28 01:14:28 +00:00
2023-04-06 23:01:40 -04:00
2023-04-06 04:55:58 +00:00
2023-04-06 08:25:53 +02:00
2023-04-06 09:34:16 +01:00