about summary refs log tree commit diff
path: root/compiler/rustc_error_codes
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2025-08-01 18:07:59 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2025-08-13 17:45:40 +0300
commit772493d51d24dabbffdc54aaf48859eec85d544e (patch)
treeaf143e4bcc357efabf184f9f095ef00cd04c9fa7 /compiler/rustc_error_codes
parent350d0ef0ec0493e6d21cfb265cb8211a0e74d766 (diff)
downloadrust-772493d51d24dabbffdc54aaf48859eec85d544e.tar.gz
rust-772493d51d24dabbffdc54aaf48859eec85d544e.zip
resolve: Split extern prelude into two scopes
One for `--extern` options and another for `extern crate` items.

Diffstat (limited to 'compiler/rustc_error_codes')
-rw-r--r--compiler/rustc_error_codes/src/error_codes/E0578.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0578.md b/compiler/rustc_error_codes/src/error_codes/E0578.md
index fca89757287..78fabe855bb 100644
--- a/compiler/rustc_error_codes/src/error_codes/E0578.md
+++ b/compiler/rustc_error_codes/src/error_codes/E0578.md
@@ -1,8 +1,10 @@
+#### Note: this error code is no longer emitted by the compiler.
+
 A module cannot be found and therefore, the visibility cannot be determined.
 
 Erroneous code example:
 
-```compile_fail,E0578,edition2018
+```ignore (no longer emitted)
 foo!();
 
 pub (in ::Sea) struct Shark; // error!