aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/lib.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-05-22 03:13:13 -0500
committerbors-servo <metajack+bors@gmail.com>2015-05-22 03:13:13 -0500
commite04d9c32a98ff4673f413ed17f66e7466e2ff974 (patch)
treea34dd2e4c5b2d6dfea58181a90eff31e5ba44f92 /components/style/lib.rs
parentef7fa99bd2c4ff52be1c6361d9f1eca3775c88c5 (diff)
parent53c32cdc78bde06fece761bf73526ae15d5bb853 (diff)
downloadservo-e04d9c32a98ff4673f413ed17f66e7466e2ff974.tar.gz
servo-e04d9c32a98ff4673f413ed17f66e7466e2ff974.zip
Auto merge of #6159 - SimonSapin:no_mod_path, r=Manishearth
https://github.com/rust-lang/rust/pull/20179 makes its use case much weaker. r? @Manishearth <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6159) <!-- Reviewable:end -->
Diffstat (limited to 'components/style/lib.rs')
-rw-r--r--components/style/lib.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/components/style/lib.rs b/components/style/lib.rs
index 59a936dd737..9469d021196 100644
--- a/components/style/lib.rs
+++ b/components/style/lib.rs
@@ -11,7 +11,6 @@
#![feature(rustc_private)]
#![plugin(string_cache_plugin)]
-#![plugin(mod_path)]
#[macro_use] extern crate log;
#[macro_use] extern crate bitflags;
@@ -44,7 +43,10 @@ pub mod selector_matching;
#[macro_use] pub mod values;
// Generated from the properties.mako.rs template by build.rs
-mod_path! properties (concat!(env!("OUT_DIR"), "/properties.rs"));
+#[macro_use]
+pub mod properties {
+ include!(concat!(env!("OUT_DIR"), "/properties.rs"));
+}
pub mod node;
pub mod media_queries;