Adapt error code doc.
This commit is contained in:
@@ -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!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user