diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-07-01 07:12:04 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-07-05 12:45:42 -0700 |
| commit | e44c2b9bbcb3ca7a7ca9e987b6727fd011f7b91a (patch) | |
| tree | 624dc762a18f4ee52f4195e7a788f7c337b46381 /src/libtest | |
| parent | c956b70d7bb947e3358739221d2afffc292612cb (diff) | |
| download | rust-e44c2b9bbcb3ca7a7ca9e987b6727fd011f7b91a.tar.gz rust-e44c2b9bbcb3ca7a7ca9e987b6727fd011f7b91a.zip | |
Add #[crate_name] attributes as necessary
Diffstat (limited to 'src/libtest')
| -rw-r--r-- | src/libtest/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libtest/lib.rs b/src/libtest/lib.rs index 02f7ebc6d21..1eb13fd660e 100644 --- a/src/libtest/lib.rs +++ b/src/libtest/lib.rs @@ -23,7 +23,8 @@ // running tests while providing a base that other test frameworks may // build off of. -#![crate_id = "test#0.11.0"] +#![crate_id = "test#0.11.0"] // NOTE: remove after stage0 +#![crate_name = "test"] // NOTE: remove after stage0 #![experimental] #![comment = "Rust internal test library only used by rustc"] #![license = "MIT/ASL2"] @@ -32,6 +33,7 @@ #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_root_url = "http://doc.rust-lang.org/0.11.0/")] +#![allow(unused_attribute)] // NOTE: remove after stage0 #![feature(asm, macro_rules, phase)] |
