rustc: Support 'companion mod's for crates and directory mods
Under this scheme when parsing foo.rc the parser will also look for foo.rs to fill in the crate-level module, and when evaluating a directory module directive it will look for a .rs file with the same name as the directory.
This commit is contained in:
parent
2cebef095e
commit
e0f44730e8
11 changed files with 88 additions and 14 deletions
|
|
@ -1,6 +1,5 @@
|
|||
use std;
|
||||
|
||||
mod compiletest;
|
||||
mod procsrv;
|
||||
mod util;
|
||||
mod header;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue