Uh oh!
There was an error while loading. Please reload this page.
invalid_value lint: use diagnostic items - #66217
Merged
Merged
Conversation
Centril
commented
Nov 8, 2019
Contributor
The only thing that pops out is that it's a directly exported intrinsic, but I'm not sure why that makes the difference tho. Nothing stands out from #60966 tho so it seems strange. (If you want, we could leave |
RalfJungforce-pushed
the
diagnostic-items
branch
from
November 9, 2019 09:34
2021406 to
769d527CompareRalfJung
commented
Nov 9, 2019
MemberAuthor
bors
commented
Nov 9, 2019
Collaborator
📋 Looks like this PR is still in progress, ignoring approval. Hint: Remove WIP from this PR's title when it is ready for review. |
RalfJung
commented
Nov 9, 2019
MemberAuthor
@bors r=Centril |
bors
commented
Nov 9, 2019
Collaborator
📌 Commit 769d527 has been approved by |
JohnTitor added a commit
to JohnTitor/rust
that referenced
this pull request
Nov 10, 2019
invalid_value lint: use diagnostic items This adjusts the invalid_value lint to use diagnostic items. @Centril@oli-obk For some reason, this fails to recognize `transmute` -- somehow the diagnostic item is not found. Any idea why? r? @Centril Cc rust-lang#66075
bors added a commit
that referenced
this pull request
Nov 10, 2019
Rollup of 7 pull requests Successful merges: - #65719 (Refactor sync::Once) - #65831 (Don't cast directly from &[T; N] to *const T) - #66048 (Correct error in documentation for Ipv4Addr method) - #66058 (Correct deprecated `is_global` IPv6 documentation) - #66216 ([mir-opt] Handle return place in ConstProp and improve SimplifyLocals pass) - #66217 (invalid_value lint: use diagnostic items) - #66235 (rustc_metadata: don't let LLVM confuse rmeta blobs for COFF object files.) Failed merges: r? @ghost
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.
This adjusts the invalid_value lint to use diagnostic items.
@Centril@oli-obk For some reason, this fails to recognize
transmute-- somehow the diagnostic item is not found. Any idea why?r? @Centril
Cc #66075