librustc: Remove use mod
from the language
This commit is contained in:
parent
2c5afa4753
commit
25129ee81c
8 changed files with 15 additions and 53 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue