Adapt error code doc.

This commit is contained in:
Camille GILLOT 2023-08-02 15:30:29 +00:00
parent 2faa2626cc
commit 69ea85da02

View File

@ -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!