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 upImplement better object defaults (RFC #1156) #26370
Conversation
rust-highfive
assigned
pnkfelix
Jun 17, 2015
nikomatsakis
force-pushed the
nikomatsakis:better-object-defaults-warn
branch
2 times, most recently
from
aabe806
to
325f468
Jun 17, 2015
This comment has been minimized.
This comment has been minimized.
|
I went ahead and made the warning more targeted. It was bugging me. |
This comment has been minimized.
This comment has been minimized.
|
cc me |
nikomatsakis
force-pushed the
nikomatsakis:better-object-defaults-warn
branch
from
ee09ce4
to
b4bbc66
Jun 19, 2015
nikomatsakis
changed the title
[NEEDS RFC] Implement better object defaults (RFC #1156)
Implement better object defaults (RFC #1156)
Jun 19, 2015
This comment has been minimized.
This comment has been minimized.
|
RFC is merged. |
This comment has been minimized.
This comment has been minimized.
|
|
nikomatsakis
force-pushed the
nikomatsakis:better-object-defaults-warn
branch
from
b4bbc66
to
9b55ed3
Jun 24, 2015
nikomatsakis
added
the
beta-nominated
label
Jun 24, 2015
This comment has been minimized.
This comment has been minimized.
|
@pnkfelix ping (I'll rebase on Fri at the latest...) |
This comment has been minimized.
This comment has been minimized.
|
@nikomatsakis okay it all looks good to me, sorry it took me so long to get around to it. |
pnkfelix
referenced this pull request
Jul 2, 2015
Closed
Split TyBareFn into TyFnDef and TyFnPtr. #26284
nikomatsakis
force-pushed the
nikomatsakis:better-object-defaults-warn
branch
from
fc1731a
to
0ab544a
Jul 3, 2015
nikomatsakis
added some commits
Jun 17, 2015
nikomatsakis
force-pushed the
nikomatsakis:better-object-defaults-warn
branch
from
0ab544a
to
db5f3bc
Jul 3, 2015
nikomatsakis
added
the
beta-accepted
label
Jul 3, 2015
This comment has been minimized.
This comment has been minimized.
|
marks as beta-accepted |
This comment has been minimized.
This comment has been minimized.
|
@bors r+ p=1 |
This comment has been minimized.
This comment has been minimized.
|
|
bors
added a commit
that referenced
this pull request
Jul 4, 2015
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bors
merged commit db5f3bc
into
rust-lang:master
Jul 4, 2015
bors
referenced this pull request
Jul 4, 2015
Closed
Allow using an undeclared '_ as an anonymous input or inference region. #26598
This was referenced Jul 6, 2015
alexcrichton
removed
the
beta-nominated
label
Jul 8, 2015
nikomatsakis
deleted the
nikomatsakis:better-object-defaults-warn
branch
Mar 30, 2016
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.
nikomatsakis commentedJun 17, 2015
This is an implementation of RFC rust-lang/rfcs#1156. It includes the code to implement the new rules, but that code is currently disabled. It also includes code to issue warnings when the change will cause breakage. These warnings try hard to be targeted but are also somewhat approximate. They could, with some effort, be made more targeted by adjusting the code in ty_relate that propagates the "will change" flag to consider the specific operation. Might be worth doing.
r? @pnkfelix (I think you understand region inference best)