about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2014-06-08 00:21:15 -0700
committerSteven Fackler <sfackler@gmail.com>2014-06-08 00:21:15 -0700
commit862cd65dcadf34b5ab59063be151ab801fc7bfe1 (patch)
treed21421206166a936e4dedc788a87ab57aa6ba764 /src/test
parent42a18bd985e103484abbe801082b0593f1a43019 (diff)
downloadrust-862cd65dcadf34b5ab59063be151ab801fc7bfe1.tar.gz
rust-862cd65dcadf34b5ab59063be151ab801fc7bfe1.zip
Add back hint for crate level attributes
Diffstat (limited to 'src/test')
-rw-r--r--src/test/compile-fail/lint-misplaced-attr.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/compile-fail/lint-misplaced-attr.rs b/src/test/compile-fail/lint-misplaced-attr.rs
index 9af48527435..dea712e976b 100644
--- a/src/test/compile-fail/lint-misplaced-attr.rs
+++ b/src/test/compile-fail/lint-misplaced-attr.rs
@@ -15,6 +15,8 @@
 
 mod a {
     #![crate_type = "bin"] //~ ERROR unused attribute
+                           //~^ ERROR should be in the root module
 }
 
 #[crate_type = "bin"] fn main() {} //~ ERROR unused attribute
+                                   //~^ ERROR should be an inner