Update comments
This commit is contained in:
parent
a1eeaddf3f
commit
039da0b832
2 changed files with 2 additions and 2 deletions
|
|
@ -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() {}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue