diff options
| author | Ralf Jung <post@ralfj.de> | 2023-09-11 23:09:11 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2023-09-14 22:34:05 +0200 |
| commit | 9ac8b363e3227fdc08634ce445b7787aa0fa6bba (patch) | |
| tree | fa4ccae3cb361f63c1aa533ddd6921a1b7c71045 /compiler/rustc_codegen_ssa/src/errors.rs | |
| parent | 89ac57db4dbc0a69a3d15b6818ca1de5bc5bd09c (diff) | |
| download | rust-9ac8b363e3227fdc08634ce445b7787aa0fa6bba.tar.gz rust-9ac8b363e3227fdc08634ce445b7787aa0fa6bba.zip | |
don't point at const usage site for resolution-time errors
also share the code that emits the actual error
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/errors.rs')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/errors.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/compiler/rustc_codegen_ssa/src/errors.rs b/compiler/rustc_codegen_ssa/src/errors.rs index fa49095c9e8..bfd572a2eea 100644 --- a/compiler/rustc_codegen_ssa/src/errors.rs +++ b/compiler/rustc_codegen_ssa/src/errors.rs @@ -596,20 +596,6 @@ pub struct InvalidWindowsSubsystem { } #[derive(Diagnostic)] -#[diag(codegen_ssa_erroneous_constant)] -pub struct ErroneousConstant { - #[primary_span] - pub span: Span, -} - -#[derive(Diagnostic)] -#[diag(codegen_ssa_polymorphic_constant_too_generic)] -pub struct PolymorphicConstantTooGeneric { - #[primary_span] - pub span: Span, -} - -#[derive(Diagnostic)] #[diag(codegen_ssa_shuffle_indices_evaluation)] pub struct ShuffleIndicesEvaluation { #[primary_span] |
