about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2014-12-17 20:12:41 -0800
committerAaron Turon <aturon@mozilla.com>2014-12-17 20:40:15 -0800
commit9bb5380d80dc961fc3bd7edd13d6584f5cc48b66 (patch)
tree9530a69d6d4df21fa4217d87406739d7ff0a02d7 /src/rustllvm/ExecutionEngineWrapper.cpp
parent22a9f250b5e2de64c13c0f056aec13eb086ef79d (diff)
downloadrust-9bb5380d80dc961fc3bd7edd13d6584f5cc48b66.tar.gz
rust-9bb5380d80dc961fc3bd7edd13d6584f5cc48b66.zip
Stability: tweak rules for trait impls
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.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions