1
Fork 0

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

@ -1413,7 +1413,7 @@ pub impl Resolver {
let mut module_path = ~[];
match view_path.node {
view_path_simple(_, full_path, _, _) => {
view_path_simple(_, full_path, _) => {
let path_len = full_path.idents.len();
assert!(path_len != 0);
@ -1435,7 +1435,7 @@ pub impl Resolver {
// Build up the import directives.
let module_ = self.get_module_from_parent(parent);
match view_path.node {
view_path_simple(binding, full_path, _, _) => {
view_path_simple(binding, full_path, _) => {
let source_ident = *full_path.idents.last();
let subclass = @SingleImport(binding,
source_ident);