about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2014-11-11 12:46:47 -0800
committerAaron Turon <aturon@mozilla.com>2014-11-11 15:06:54 -0800
commit5b895a833a6443046bbc8a6362b1a957cf68d1b4 (patch)
treef0cf1b984101b26bf43ebe2c9bfb8c78e9501e71 /src/rustllvm/RustWrapper.cpp
parent8f8753878644b0bfb38d24781edb9ef2028730f2 (diff)
downloadrust-5b895a833a6443046bbc8a6362b1a957cf68d1b4.tar.gz
rust-5b895a833a6443046bbc8a6362b1a957cf68d1b4.zip
rustc: do not inherit #[stable]
This patch tweaks the stability inheritance infrastructure so that
`#{stable]` attributes are not inherited. Doing so solves two problems:

1. It allows us to mark module *names* as stable without accidentally
marking the items they contain as stable.

2. It means that a `#[stable]` attribution must always appear directly
on the item it applies to, which makes it easier for reviewers to catch
changes to stable APIs.

Fixes #17484
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions