Uh oh!
There was an error while loading. Please reload this page.
Disallow coercions from [T, ..n] to &[T] - #18645
Closed
nrc wants to merge 3 commits into
Closed
Conversation
rust-highfive
commented
Nov 5, 2014
Contributor
nrc
commented
Nov 5, 2014
MemberAuthor
Part of #18469 |
Contributor
There was a problem hiding this comment.
I'm under the impression that this change won't be necessary once #18486 lands. Since [T, ..N] == [T, ..N] works up to N = 32. cc @nikomatsakis
alexcrichton
commented
Nov 5, 2014
Member
r=me, thanks @nick29581! |
bors added a commit
that referenced
this pull request
Nov 17, 2014
The forwards compatible parts of #18645, rebased. Converts implicit coercions from `[T, ..n]` to `&[T]` into explicit references.
added 2 commits
November 18, 2014 10:02
[breaking-change] Insert an `&` to fix
bors added a commit
that referenced
this pull request
Nov 18, 2014
r? (I realise this needs a rebase, but I will probably have to chop it up in order to land and I'd like to get r+ first so I can do that quicker)
This was referenced Nov 19, 2014
lnicola pushed a commit
to lnicola/rust
that referenced
this pull request
Dec 11, 2024
fix: Non-exhaustive structs may be empty
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 freeto 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.
r?
(I realise this needs a rebase, but I will probably have to chop it up in order to land and I'd like to get r+ first so I can do that quicker)