diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-02-14 10:10:06 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-02-14 22:55:21 -0800 |
| commit | a41b0c25295e06b8eebc4bdcb3021354f766cba0 (patch) | |
| tree | d1b3262191eb927bc9e0535318676d711e2a655d /src/test/compile-fail/xcrate-unit-struct.rs | |
| parent | 359ac360a453b31494d18bf838f6620032a663e5 (diff) | |
| download | rust-a41b0c25295e06b8eebc4bdcb3021354f766cba0.tar.gz rust-a41b0c25295e06b8eebc4bdcb3021354f766cba0.zip | |
extern mod => extern crate
This was previously implemented, and it just needed a snapshot to go through
Diffstat (limited to 'src/test/compile-fail/xcrate-unit-struct.rs')
| -rw-r--r-- | src/test/compile-fail/xcrate-unit-struct.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
