]> git.lizzy.rs Git - rust.git/commit
syntax: Bless mod.rs. #4116
authorBrian Anderson <banderson@mozilla.com>
Sat, 20 Jul 2013 02:11:30 +0000 (19:11 -0700)
committerBrian Anderson <banderson@mozilla.com>
Mon, 22 Jul 2013 02:32:24 +0000 (19:32 -0700)
commita74d92e8ab61863876d2b5b6256b403efbb55492
tree0c38ed6c3a087fc555f54709791f983e97ce1905
parentfe3f75ff8e2a7e750713295f5fa17a4abf9d9d62
syntax: Bless mod.rs. #4116

When loading a module the parser will look for either foo.rs or foo/mod.rs and generate
an error when both are found.
src/libsyntax/parse/parser.rs
src/test/compile-fail/missingmod.rc [deleted file]
src/test/compile-fail/mod_file_disambig.rs [new file with mode: 0644]
src/test/compile-fail/mod_file_disambig_aux.rs [new file with mode: 0644]
src/test/compile-fail/mod_file_disambig_aux/mod.rs [new file with mode: 0644]
src/test/compile-fail/mod_file_not_exist.rs
src/test/run-pass/mod_dir_implicit.rs [new file with mode: 0644]
src/test/run-pass/mod_dir_implicit_aux/mod.rs [new file with mode: 0644]