Adapt error code doc.
This commit is contained in:
parent
2faa2626cc
commit
69ea85da02
@ -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…
Reference in New Issue
Block a user