Skip to content

Commit 69ea85d

Browse files
committed
Adapt error code doc.
1 parent 2faa262 commit 69ea85d

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_error_codes/src/error_codes

1 file changed

+1
-1
lines changed

Diff for: compiler/rustc_error_codes/src/error_codes/E0577.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Something other than a module was found in visibility scope.
33
Erroneous code example:
44

55
```compile_fail,E0577,edition2018
6-
pub struct Sea;
6+
pub enum Sea {}
77
88
pub (in crate::Sea) struct Shark; // error!
99

0 commit comments

Comments
 (0)