Skip to content

Commit a3c31a0

Browse files
committed
Add export{} syntax to encapsulate things that should be abstract
1 parent 69ffb4e commit a3c31a0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/comp/metadata/cstore.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import std::map;
66
import syntax::ast;
77
import util::common::*;
88

9-
export cstore;
9+
export cstore::{};
1010
export cnum_map;
1111
export crate_metadata;
1212
export mk_cstore;

src/libcore/comm.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ import task;
2626

2727
export send;
2828
export recv;
29-
export chan;
30-
export port;
29+
export chan::{};
30+
export port::{};
3131

3232
#[abi = "cdecl"]
3333
native mod rustrt {

src/libcore/ctypes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ which are not obviously correct for all potential platforms.
88
export c_int, c_uint, long, longlong, unsigned, ulong, ulonglong;
99
export intptr_t, uintptr_t;
1010
export uint32_t;
11-
export void;
11+
export void::{};
1212
export c_float, c_double;
1313
export size_t, ssize_t;
1414
export off_t, fd_t, pid_t;

0 commit comments

Comments
 (0)