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 uptypeck: use a TypeVisitor in ctp #35143
Conversation
rust-highfive
assigned
eddyb
Jul 31, 2016
This comment has been minimized.
This comment has been minimized.
|
@bors r+ |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Jul 31, 2016
This comment has been minimized.
This comment has been minimized.
|
Crater report shows 1 root regression: |
This comment has been minimized.
This comment has been minimized.
bors
merged commit 0a128f3
into
rust-lang:master
Aug 1, 2016
bors
referenced this pull request
Aug 1, 2016
Merged
Implement `impl Trait` in return type position by anonymization. #35091
diwic
added a commit
to diwic/dbus-rs
that referenced
this pull request
Aug 2, 2016
This comment has been minimized.
This comment has been minimized.
|
Given the minimal impact, this doesn't require a warning period, but we still ought to do our best to minimize impact before landing and help users. e.g. give an explanatory note on the error indicating that there was a recent bug-fix (it'd be ok, I think, for that note to appear even if the error would have happened before), and/or submit a PR to fix the problem. Still, given that this landed, I'm not inclined to roll it back. Just saying. cc @Kimundi -- this change fixes a hole that the "owning-ref" crate was relying on. |
arielb1 commentedJul 31, 2016
•
edited
Use a TypeVisitor in ctp instead of
ty::walkThis fixes a few cases where a region could be projected out of a trait while not being constrained by the type parameters, violating rust-lang/rfcs#447 and breaking soundness. As such, this is a [breaking-change].
Fixes #35139
r? @eddyb