+++ /dev/null
-// ignore-test Not a test. Used by other tests
-
-pub fn foo() -> isize { 10 }
+++ /dev/null
-// Testing that the source_map is maintained correctly when parsing mods from external files
-
-mod mod_file_aux;
-
-fn main() {
- assert!(mod_file_aux::bar() == 10);
- //~^ ERROR cannot find function `bar` in module `mod_file_aux`
-}
+++ /dev/null
-error[E0425]: cannot find function `bar` in module `mod_file_aux`
- --> $DIR/mod_file_correct_spans.rs:6:27
- |
-LL | assert!(mod_file_aux::bar() == 10);
- | ^^^ not found in `mod_file_aux`
-
-error: aborting due to previous error
-
-For more information about this error, try `rustc --explain E0425`.
+++ /dev/null
-mod mod_file_disambig_aux; //~ ERROR file for module `mod_file_disambig_aux` found at both
-
-fn main() {
- assert_eq!(mod_file_aux::bar(), 10);
- //~^ ERROR failed to resolve: use of undeclared crate or module `mod_file_aux`
-}
+++ /dev/null
-error[E0761]: file for module `mod_file_disambig_aux` found at both mod_file_disambig_aux.rs and mod_file_disambig_aux/mod.rs
- --> $DIR/mod_file_disambig.rs:1:1
- |
-LL | mod mod_file_disambig_aux;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- = help: delete or rename one of them to remove the ambiguity
-
-error[E0433]: failed to resolve: use of undeclared crate or module `mod_file_aux`
- --> $DIR/mod_file_disambig.rs:4:16
- |
-LL | assert_eq!(mod_file_aux::bar(), 10);
- | ^^^^^^^^^^^^ use of undeclared crate or module `mod_file_aux`
-
-error: aborting due to 2 previous errors
-
-Some errors have detailed explanations: E0433, E0761.
-For more information about an error, try `rustc --explain E0433`.
+++ /dev/null
-// ignore-test not a test. aux file
+++ /dev/null
-// ignore-test not a test. aux file
--- /dev/null
+// ignore-test Not a test. Used by other tests
+
+pub fn foo() -> isize { 10 }
--- /dev/null
+// Testing that the source_map is maintained correctly when parsing mods from external files
+
+mod mod_file_aux;
+
+fn main() {
+ assert!(mod_file_aux::bar() == 10);
+ //~^ ERROR cannot find function `bar` in module `mod_file_aux`
+}
--- /dev/null
+error[E0425]: cannot find function `bar` in module `mod_file_aux`
+ --> $DIR/mod_file_correct_spans.rs:6:27
+ |
+LL | assert!(mod_file_aux::bar() == 10);
+ | ^^^ not found in `mod_file_aux`
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0425`.
--- /dev/null
+mod mod_file_disambig_aux; //~ ERROR file for module `mod_file_disambig_aux` found at both
+
+fn main() {
+ assert_eq!(mod_file_aux::bar(), 10);
+ //~^ ERROR failed to resolve: use of undeclared crate or module `mod_file_aux`
+}
--- /dev/null
+error[E0761]: file for module `mod_file_disambig_aux` found at both mod_file_disambig_aux.rs and mod_file_disambig_aux/mod.rs
+ --> $DIR/mod_file_disambig.rs:1:1
+ |
+LL | mod mod_file_disambig_aux;
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^
+ |
+ = help: delete or rename one of them to remove the ambiguity
+
+error[E0433]: failed to resolve: use of undeclared crate or module `mod_file_aux`
+ --> $DIR/mod_file_disambig.rs:4:16
+ |
+LL | assert_eq!(mod_file_aux::bar(), 10);
+ | ^^^^^^^^^^^^ use of undeclared crate or module `mod_file_aux`
+
+error: aborting due to 2 previous errors
+
+Some errors have detailed explanations: E0433, E0761.
+For more information about an error, try `rustc --explain E0433`.
--- /dev/null
+// ignore-test not a test. aux file
--- /dev/null
+// ignore-test not a test. aux file