Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upRegression in type inference of casting in constants #28801
Comments
jethrogb
changed the title
Regression in type inference of constants
Regression in type inference of casting in constants
Oct 1, 2015
This comment has been minimized.
This comment has been minimized.
|
triage: I-nominated |
rust-highfive
added
the
I-nominated
label
Oct 2, 2015
alexcrichton
added
the
T-compiler
label
Oct 2, 2015
This comment has been minimized.
This comment has been minimized.
|
This compiles with |
This comment has been minimized.
This comment has been minimized.
|
This looks to be fixed by #28131. Should I beta-nominate that? |
This comment has been minimized.
This comment has been minimized.
|
@arielb1 yeah I'll beta-nominate that, thanks for the investigation! |
This comment has been minimized.
This comment has been minimized.
|
Also removing I-nominated as this should be dealt with by the beta-nomination |
alexcrichton
removed
the
I-nominated
label
Oct 5, 2015
alexcrichton
referenced this issue
Oct 5, 2015
Merged
check upvars in closures that are in statics #28131
This comment has been minimized.
This comment has been minimized.
alexcrichton
closed this
Oct 5, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jethrogb commentedOct 1, 2015
This works in stable, beta and nightly:
This only works in stable:
But in beta and nightly results in: