]> git.lizzy.rs Git - rust.git/commit
rustc: Support stability attributes on crates
authorAlex Crichton <alex@alexcrichton.com>
Tue, 4 Nov 2014 07:54:12 +0000 (23:54 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 4 Nov 2014 16:13:09 +0000 (08:13 -0800)
commit68ac44cb97d9f7fd5e552aabb516f61cbb5b6760
tree11e36298102cbb471aea2471f70e10a5a2cc5f5f
parentec28b4a6c8c0a249fe341afde55d026177aabac6
rustc: Support stability attributes on crates

This commit adds support for linting `extern crate` statements for stability
attributes attached to the crate itself. This is likely to be the mechanism used
to deny access to experimental crates that are part of the standard
distribution.

cc #18585
src/librustc/lint/builtin.rs
src/test/compile-fail/lint-output-format.rs
src/test/compile-fail/lint-stability.rs