about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2014-10-03 10:46:41 -0700
committerAaron Turon <aturon@mozilla.com>2014-10-06 16:32:30 -0700
commit07cfc252a1d34b25fcb6c84403071bd183794ae2 (patch)
tree0b557caad6b4ea6f63df9d0daaf8703c49f9a31a /src/rustllvm/PassWrapper.cpp
parentb5ba2f5517b1f90d07969ca3facdf5132e42436c (diff)
downloadrust-07cfc252a1d34b25fcb6c84403071bd183794ae2.tar.gz
rust-07cfc252a1d34b25fcb6c84403071bd183794ae2.zip
Remove core::any::AnyPrivate
[Previously](https://github.com/rust-lang/rust/commit/e5da6a71a6a0b46dd3630fc8326e6d5906a1fde6),
the `Any` trait was split into a private portion and an (empty) public
portion, in order to hide the implementation strategy used for
downcasting. However, the [new
rules](https://github.com/rust-lang/rust/commit/e9ad12c0cae5c43ada6641c7dc840a0fbe5010a2)
for privacy forbid `AnyPrivate` from actually being private.

This patch thus reverts the introduction of `AnyPrivate`.

Although this is unlikely to break any real code, it removes a public
trait and is therefore a:

[breaking-change]
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions