-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add failing test for projections used as union field type #106808
Add failing test for projections used as union field type #106808
Conversation
321272a
to
b2cf45b
Compare
Was there an attempt to fix this by normalizing $somewhere? |
tests/ui/projection-as-union-type.rs
Outdated
@@ -0,0 +1,18 @@ | |||
// This is currently not possible to use projections as union field's type. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file should be in an appropriate subdirectory. I think we have a union directory?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also it should either have an accompanying .stderr
file or a known-bug
header and no error annotations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My rebase was a huge failure... ^^'
That's what I asked on zulip. I guess it should be normalized then. Investigating. |
b2cf45b
to
829cf09
Compare
…field-ty, r=oli-obk Add missing normalization for union fields types Overshadows rust-lang#106808. From the experiment rust-lang#103985. In short, it allows to use projections as a type for union's fields. cc `@compiler-errors` r? `@oli-obk`
… r=oli-obk Add missing normalization for union fields types Overshadows rust-lang/rust#106808. From the experiment rust-lang/rust#103985. In short, it allows to use projections as a type for union's fields. cc `@compiler-errors` r? `@oli-obk`
From the experiment #103985.
cc @compiler-errors
r? @oli-obk