diff options
author | bors <bors@rust-lang.org> | 2023-04-07 20:40:05 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2023-04-07 20:40:05 +0000 |
commit | 23ee2af2f7669d521ad39ef8a506a4fa3d37ea5a (patch) | |
tree | ab7f04e9497bcabd5cc654a4df0d86bc9afa8265 /tests/rustdoc-js-std/parser-errors.js | |
parent | da636956dd13638a5582f9dcd4699559d85ac2d5 (diff) | |
parent | d5b1ef1c3f5f5fae73baee4b463e264842c8a73d (diff) | |
download | rust-23ee2af2f7669d521ad39ef8a506a4fa3d37ea5a.tar.gz |
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`
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions