about summary refs log tree commit diff
path: root/compiler/rustc_error_codes/src
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-08-02 15:30:29 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-08-02 15:30:29 +0000
commit69ea85da02441c310b4aee39f4483ede937400fa (patch)
treecc7d4f4ca8eaabf83d35dfaddbcfd178af982116 /compiler/rustc_error_codes/src
parent2faa2626ccb9fa163c0c890657d26e98ba04ed7c (diff)
downloadrust-69ea85da02441c310b4aee39f4483ede937400fa.tar.gz
rust-69ea85da02441c310b4aee39f4483ede937400fa.zip
Adapt error code doc.
Diffstat (limited to 'compiler/rustc_error_codes/src')
-rw-r--r--compiler/rustc_error_codes/src/error_codes/E0577.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0577.md b/compiler/rustc_error_codes/src/error_codes/E0577.md
index eba2d3b1417..383ca61f6c4 100644
--- a/compiler/rustc_error_codes/src/error_codes/E0577.md
+++ b/compiler/rustc_error_codes/src/error_codes/E0577.md
@@ -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!