librustc: Remove use mod from the language

This commit is contained in:
Patrick Walton
2013-04-22 12:32:59 -07:00
parent 2c5afa4753
commit 25129ee81c
8 changed files with 15 additions and 53 deletions

View File

@@ -1100,11 +1100,6 @@ pub struct path_list_ident_ {
pub type path_list_ident = spanned<path_list_ident_>;
#[auto_encode]
#[auto_decode]
#[deriving(Eq)]
pub enum namespace { module_ns, type_value_ns }
pub type view_path = spanned<view_path_>;
#[auto_encode]
@@ -1117,7 +1112,7 @@ pub enum view_path_ {
// or just
//
// foo::bar::baz (with 'baz =' implicitly on the left)
view_path_simple(ident, @Path, namespace, node_id),
view_path_simple(ident, @Path, node_id),
// foo::bar::*
view_path_glob(@Path, node_id),