diff options
| author | bors <bors@rust-lang.org> | 2024-02-29 21:47:54 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-02-29 21:47:54 +0000 |
| commit | 77be7a3e0df908c5ea9ea4a70d209782a7299b4b (patch) | |
| tree | 41a606aaf853443b75d56e7df03f8540486aa488 /compiler/rustc_const_eval/src/errors.rs | |
| parent | 878c8a2a62d49ca5c454547ad67290a1df746cb5 (diff) | |
| parent | b961f25c215bb9796bc4893103034938af3e5dc3 (diff) | |
| download | rust-77be7a3e0df908c5ea9ea4a70d209782a7299b4b.tar.gz rust-77be7a3e0df908c5ea9ea4a70d209782a7299b4b.zip | |
Auto merge of #121810 - matthiaskrgr:rollup-mawij2g, r=matthiaskrgr
Rollup of 8 pull requests Successful merges: - #121326 (Detect empty leading where clauses on type aliases) - #121464 (rustc: Fix wasm64 metadata object files) - #121681 (Safe Transmute: Revise safety analysis) - #121753 (Add proper cfg to keep only one AlignmentEnum definition for different target_pointer_widths) - #121782 (allow statics pointing to mutable statics) - #121798 (Fix links in rustc doc) - #121806 (add const test for ptr::metadata) - #121809 (Remove doc aliases to PATH) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_const_eval/src/errors.rs')
| -rw-r--r-- | compiler/rustc_const_eval/src/errors.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_const_eval/src/errors.rs b/compiler/rustc_const_eval/src/errors.rs index 62aab9d5635..c59e0a0df9f 100644 --- a/compiler/rustc_const_eval/src/errors.rs +++ b/compiler/rustc_const_eval/src/errors.rs @@ -613,7 +613,6 @@ impl<'tcx> ReportErrorExt for ValidationErrorInfo<'tcx> { PartialPointer => const_eval_validation_partial_pointer, ConstRefToMutable => const_eval_validation_const_ref_to_mutable, ConstRefToExtern => const_eval_validation_const_ref_to_extern, - MutableRefInConstOrStatic => const_eval_validation_mutable_ref_in_const_or_static, MutableRefToImmutable => const_eval_validation_mutable_ref_to_immutable, NullFnPtr => const_eval_validation_null_fn_ptr, NeverVal => const_eval_validation_never_val, @@ -767,7 +766,6 @@ impl<'tcx> ReportErrorExt for ValidationErrorInfo<'tcx> { } NullPtr { .. } | PtrToStatic { .. } - | MutableRefInConstOrStatic | ConstRefToMutable | ConstRefToExtern | MutableRefToImmutable |
