about summary refs log tree commit diff
path: root/compiler/rustc_span
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-07-18 14:49:19 +0200
committerGitHub <noreply@github.com>2025-07-18 14:49:19 +0200
commit82fbbddf633f104cbfac6f388fa96e0b94971ad9 (patch)
treed6c9a97f6a782036fef0c569f20e7eaafcb4d5ee /compiler/rustc_span
parent744ca5959a665e23e7e7b30ecf81d17c22223cc2 (diff)
parent68b415a0c4cfa054f275424db770d08227c09099 (diff)
downloadrust-82fbbddf633f104cbfac6f388fa96e0b94971ad9.tar.gz
rust-82fbbddf633f104cbfac6f388fa96e0b94971ad9.zip
Rollup merge of #143925 - oli-obk:slice-const-partialeq, r=fee1-dead
Make slice comparisons const

This needed a fix for `derive_const`, too, as it wasn't usable in libcore anymore as trait impls need const stability attributes. I think we can't use the same system as normal trait impls while `const_trait_impl` is still unstable.

r? ```@fee1-dead```

cc rust-lang/rust#143800
Diffstat (limited to 'compiler/rustc_span')
-rw-r--r--compiler/rustc_span/src/symbol.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index 7147f37efc1..d28a73bc139 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -840,6 +840,7 @@ symbols! {
         derive,
         derive_coerce_pointee,
         derive_const,
+        derive_const_issue: "118304",
         derive_default_enum,
         derive_smart_pointer,
         destruct,