From a41b0c25295e06b8eebc4bdcb3021354f766cba0 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 14 Feb 2014 10:10:06 -0800 Subject: extern mod => extern crate This was previously implemented, and it just needed a snapshot to go through --- src/test/compile-fail/xcrate-unit-struct.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/compile-fail/xcrate-unit-struct.rs') diff --git a/src/test/compile-fail/xcrate-unit-struct.rs b/src/test/compile-fail/xcrate-unit-struct.rs index e71a0f05dff..cccb7e50021 100644 --- a/src/test/compile-fail/xcrate-unit-struct.rs +++ b/src/test/compile-fail/xcrate-unit-struct.rs @@ -13,7 +13,7 @@ // Make sure that when we have cross-crate unit structs we don't accidentally // make values out of cross-crate structs that aren't unit. -extern mod xcrate_unit_struct; +extern crate xcrate_unit_struct; fn main() { let _ = xcrate_unit_struct::StructWithFields; //~ ERROR: unresolved name -- cgit 1.4.1-3-g733a5