Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upDeduplicate literal -> constant lowering #56312
Conversation
rust-highfive
assigned
eddyb
Nov 28, 2018
This comment has been minimized.
This comment has been minimized.
|
r? @eddyb (rust_highfive has picked a reviewer for you, use r? to override) |
rust-highfive
added
the
S-waiting-on-review
label
Nov 28, 2018
src/librustc_mir/hair/pattern/mod.rs
Outdated
| tcx: TyCtxt<'a, 'gcx, 'tcx>, | ||
| ty: Ty<'tcx>, | ||
| neg: bool, | ||
| ) -> Result<&'tcx ty::Const<'tcx>, LitToConstError> { |
This comment has been minimized.
This comment has been minimized.
eddyb
Nov 28, 2018
Member
Can this be moved out of hair::pattern? Somewhere else in hair would be fine (cc @nikomatsakis).
This comment has been minimized.
This comment has been minimized.
oli-obk
Nov 28, 2018
Contributor
I created a custom file, there's likely other things we'll want to add in the future.
This comment has been minimized.
This comment has been minimized.
|
@bors r+ |
This comment has been minimized.
This comment has been minimized.
|
|
bors
added
S-waiting-on-bors
and removed
S-waiting-on-review
labels
Nov 28, 2018
This comment has been minimized.
This comment has been minimized.
|
Ehm I think I wanted to say this (but it's not that big of a deal): |
rust-highfive
assigned
nikomatsakis
and unassigned
eddyb
Nov 28, 2018
added a commit
to GuillaumeGomez/rust
that referenced
this pull request
Nov 29, 2018
added a commit
that referenced
this pull request
Nov 29, 2018
bors
merged commit afb8cba
into
rust-lang:master
Nov 29, 2018
1 check passed
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
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.
oli-obk commentedNov 28, 2018
No description provided.