Adapt error code doc.
This commit is contained in:
parent
2faa2626cc
commit
69ea85da02
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ Something other than a module was found in visibility scope.
|
|||
Erroneous code example:
|
||||
|
||||
```compile_fail,E0577,edition2018
|
||||
pub struct Sea;
|
||||
pub enum Sea {}
|
||||
|
||||
pub (in crate::Sea) struct Shark; // error!
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue