diff options
| author | Ralf Jung <post@ralfj.de> | 2024-03-15 08:09:31 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-03-15 08:09:31 +0100 |
| commit | 0d811d7f3aceb2c23536851c7f5ed8abdc077a67 (patch) | |
| tree | 8019eff9ff3c848b3217f27c2ca11451db7bda80 /compiler/rustc_const_eval/src/errors.rs | |
| parent | 3cc4059a6e8a6aebcd020b0d3a0e2eb33d926c2c (diff) | |
| parent | ee03c286cfdca26fa5b2a4ee40957625d2c826ff (diff) | |
Merge from rustc
Diffstat (limited to 'compiler/rustc_const_eval/src/errors.rs')
| -rw-r--r-- | compiler/rustc_const_eval/src/errors.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_const_eval/src/errors.rs b/compiler/rustc_const_eval/src/errors.rs index 46790264359..cc32640408b 100644 --- a/compiler/rustc_const_eval/src/errors.rs +++ b/compiler/rustc_const_eval/src/errors.rs @@ -412,11 +412,11 @@ pub struct NullaryIntrinsicError { } #[derive(Diagnostic)] -#[diag(const_eval_undefined_behavior, code = E0080)] -pub struct UndefinedBehavior { +#[diag(const_eval_validation_failure, code = E0080)] +pub struct ValidationFailure { #[primary_span] pub span: Span, - #[note(const_eval_undefined_behavior_note)] + #[note(const_eval_validation_failure_note)] pub ub_note: Option<()>, #[subdiagnostic] pub frames: Vec<FrameNote>, |
