about summary refs log tree commit diff
path: root/src/test/run-pass/companionmod.rc
AgeCommit message (Collapse)AuthorLines
2012-11-26Remove the crate languageBrian Anderson-19/+0
2012-09-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-0/+6
#[legacy_exports];
2012-06-01test: xfail-win32 run-pass/companionmod. not sure why it's brokeBrian Anderson-0/+1
2011-11-24rustc: Add a path attribute for crate directivesHaitao Li-3/+5
The path information was an optional "filename" component of crate directive AST. It is now replaced by an attribute with metadata named "path". With this commit, a directive mod foo = "foo.rs"; should be written as: #[path = "foo.rs"] mod foo; Closes issue #906.
2011-10-29rustc: Support 'companion mod's for crates and directory modsBrian Anderson-0/+10
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.