Update comments

This commit is contained in:
Nathan Corbyn 2020-06-09 11:14:41 +01:00
parent a1eeaddf3f
commit 039da0b832
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@ A file wasn't found for an out-of-line module.
Erroneous code example:
```ignore (compile_fail not working here; see Issue #43707)
```compile_fail,E0583
mod file_that_doesnt_exist; // error: file not found for module
fn main() {}

View file

@ -14,7 +14,7 @@ fn foo() {}
fn foo() {}
```
```ignore (compile_fail not working here; see Issue #43707)
```ignore (multiple source files required for compile_fail)
mod ambiguous_module; // error: file for module `ambiguous_module`
// found at both ambiguous_module.rs and
// ambiguous_module.rs/mod.rs