diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-11-03 23:54:12 -0800 | 
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-11-04 08:13:09 -0800 | 
| commit | 68ac44cb97d9f7fd5e552aabb516f61cbb5b6760 (patch) | |
| tree | 11e36298102cbb471aea2471f70e10a5a2cc5f5f /src/test/compile-fail/lint-output-format.rs | |
| parent | ec28b4a6c8c0a249fe341afde55d026177aabac6 (diff) | |
| download | rust-68ac44cb97d9f7fd5e552aabb516f61cbb5b6760.tar.gz rust-68ac44cb97d9f7fd5e552aabb516f61cbb5b6760.zip | |
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
Diffstat (limited to 'src/test/compile-fail/lint-output-format.rs')
| -rw-r--r-- | src/test/compile-fail/lint-output-format.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/test/compile-fail/lint-output-format.rs b/src/test/compile-fail/lint-output-format.rs index db60002b468..35721ee5b14 100644 --- a/src/test/compile-fail/lint-output-format.rs +++ b/src/test/compile-fail/lint-output-format.rs @@ -11,7 +11,7 @@ // compile-flags:-F experimental -D unstable // aux-build:lint_output_format.rs -extern crate lint_output_format; +extern crate lint_output_format; //~ ERROR: use of unmarked item use lint_output_format::{foo, bar, baz}; fn main() { | 
