about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-12-21 00:04:02 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-12-21 09:26:43 -0800
commitee1bb3f25b449bea22089a88b4a9d01deb93196f (patch)
tree94f1dd4b5fe79c201a07410e60f4117fd4c4a8bb /src/rustllvm/RustWrapper.cpp
parentb4f393ee8a1517e2c35afa4d71cbcea5187e5857 (diff)
parent9bb5380d80dc961fc3bd7edd13d6584f5cc48b66 (diff)
downloadrust-ee1bb3f25b449bea22089a88b4a9d01deb93196f.tar.gz
rust-ee1bb3f25b449bea22089a88b4a9d01deb93196f.zip
rollup merge of #19969: aturon/inherit-trait-stab
There is currently no way to specify the stability level for a trait
impl produced by `deriving`. This patch is a stopgap solution that:

* Turns of stability inheritance for trait impls, and
* Uses the stability level of the *trait* if no level is directly
  specified.

That is, manual trait impls may still provide a directly stability
level, but `deriving` will use the level of the trait. While not a
perfect solution, it should be good enough for 1.0 API stabilization, as
we will like *remove* any unwanted impls outright.

r? @alexcrichton
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions