diff options
| author | Matthew Kelly <matthew.kelly2@gmail.com> | 2023-02-04 13:01:49 -0500 |
|---|---|---|
| committer | Matthew Kelly <matthew.kelly2@gmail.com> | 2023-02-06 06:58:30 -0500 |
| commit | 2bcd4e256ac00db9185bfbe86286e7a8b35b865f (patch) | |
| tree | 23617bc8e52efec0d1c11de3a342d5a1ba2b70f5 /compiler/rustc_metadata/src/errors.rs | |
| parent | 0c13c172507f01d921808107d2c4ec37b43b982d (diff) | |
| download | rust-2bcd4e256ac00db9185bfbe86286e7a8b35b865f.tar.gz rust-2bcd4e256ac00db9185bfbe86286e7a8b35b865f.zip | |
Add extended error message for E0523
Adds the extended error documentation for E0523 to indicate that the error is no longer produced by the compiler. Update the E0464 documentation to include example code that produces the error. Remove the error message E0523 from the compiler and replace it with an internal compiler error.
Diffstat (limited to 'compiler/rustc_metadata/src/errors.rs')
| -rw-r--r-- | compiler/rustc_metadata/src/errors.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/compiler/rustc_metadata/src/errors.rs b/compiler/rustc_metadata/src/errors.rs index 02c03114eb6..c32686779fa 100644 --- a/compiler/rustc_metadata/src/errors.rs +++ b/compiler/rustc_metadata/src/errors.rs @@ -512,14 +512,6 @@ pub struct SymbolConflictsCurrent { } #[derive(Diagnostic)] -#[diag(metadata_symbol_conflicts_others, code = "E0523")] -pub struct SymbolConflictsOthers { - #[primary_span] - pub span: Span, - pub crate_name: Symbol, -} - -#[derive(Diagnostic)] #[diag(metadata_stable_crate_id_collision)] pub struct StableCrateIdCollision { #[primary_span] |
