fn eval_src_mod(&mut self,
                    id: ast::Ident,
                    outer_attrs: &[ast::Attribute],
                    id_sp: Span)
                    -> PResult<'a, (ast::ItemKind, Vec<ast::Attribute> )> {
        let ModulePathSuccess { path, owns_directory } = try!(self.submod_path(id,
                                                                               outer_attrs,
                                                                               id_sp));

        self.eval_src_mod_from_path(path,
                                    owns_directory,
                                    id.to_string(),
                                    id_sp)
    }
/// Read a module from a source file.
Read a module from a source file.
Read a module from a source file .
fn eval_src_mod(&mut self,
                    id: ast::Ident,
                    outer_attrs: &[ast::Attribute],
                    id_sp: Span)
                    -> PResult<'a, (ast::ItemKind, Vec<ast::Attribute> )> {
        let ModulePathSuccess { path, owns_directory } = try!(self.submod_path(id,
                                                                               outer_attrs,
                                                                               id_sp));
        self.eval_src_mod_from_path(path,
                                    owns_directory,
                                    id.to_string(),
                                    id_sp)
    }
fn eval_src_mod ( & mut self , id : ast :: Ident , outer_attrs : & [ ast :: Attribute ] , id_sp : Span ) -> PResult < ' a , ( ast :: ItemKind , Vec < ast :: Attribute > ) > { let ModulePathSuccess { path , owns_directory } = try ! ( self submod_path ( id outer_attrs id_sp ) ) ; self . eval_src_mod_from_path ( path , owns_directory , id . to_string ( ) , id_sp ) }
Read a module from a source file.
Read a module from a source file .
&mut self
id
ast::Ident
outer_attrs
&[ast::Attribute]
id_sp
Span
&mut self
id
ast::Ident
outer_attrs
&[ast::Attribute]
id_sp
Span