Add failing test for projections used as union field type#106808
Closed
GuillaumeGomez wants to merge 1 commit intorust-lang:masterfrom
Closed
Add failing test for projections used as union field type#106808GuillaumeGomez wants to merge 1 commit intorust-lang:masterfrom
GuillaumeGomez wants to merge 1 commit intorust-lang:masterfrom
Conversation
321272a to
b2cf45b
Compare
Contributor
|
Was there an attempt to fix this by normalizing $somewhere? |
oli-obk
reviewed
Jan 13, 2023
tests/ui/projection-as-union-type.rs
Outdated
Contributor
There was a problem hiding this comment.
This file should be in an appropriate subdirectory. I think we have a union directory?
Member
There was a problem hiding this comment.
Also it should either have an accompanying .stderr file or a known-bug header and no error annotations.
Member
Author
There was a problem hiding this comment.
My rebase was a huge failure... ^^'
Member
Author
That's what I asked on zulip. I guess it should be normalized then. Investigating. |
b2cf45b to
829cf09
Compare
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Feb 9, 2023
…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`
RalfJung
pushed a commit
to RalfJung/miri
that referenced
this pull request
Feb 11, 2023
… 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`
Kobzol
pushed a commit
to Kobzol/portable-simd
that referenced
this pull request
Feb 3, 2026
… 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`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
From the experiment #103985.
cc @compiler-errors
r? @oli-obk