rust/compiler/rustc_builtin_macros/src
Matthias Krüger 82fbbddf63
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
2025-07-18 14:49:19 +02:00
..
assert Move ast::Item::ident into ast::ItemKind. 2025-04-01 14:08:57 +11:00
deriving Make derive_const usable within libcore again 2025-07-17 15:42:54 +00:00
format_foreign Rustfmt 2025-02-08 22:12:13 +00:00
alloc_error_handler.rs Avoid some unnecessary symbol interning. 2025-06-20 13:18:41 +10:00
asm.rs move asm parsing code into rustc_parse 2025-05-27 09:44:10 +02:00
assert.rs Speed up Parser::expected_token_types. 2024-12-19 16:05:41 +11:00
autodiff.rs setup CI and tidy to use typos for spellchecking and fix few typos 2025-07-03 10:51:06 +03:00
cfg.rs Speed up Parser::expected_token_types. 2024-12-19 16:05:41 +11:00
cfg_accessible.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
cfg_eval.rs completely deduplicate Visitor and MutVisitor 2025-06-19 17:50:44 +08:00
cfg_select.rs update cfg_select! documentation 2025-07-14 22:29:28 +02:00
cmdline_attrs.rs Improve -Z crate-attr diagnostics 2025-04-13 16:46:02 -04:00
compile_error.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
concat.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
concat_bytes.rs Introduce ByteSymbol. 2025-06-30 20:42:27 +10:00
contracts.rs Fix imports, remove attrs for unused_* 2025-02-10 20:15:30 +00:00
define_opaque.rs Test define opaques in extern items 2025-03-25 16:44:59 +00:00
derive.rs Use Ident::dummy() in dummy_annotatable. 2025-03-25 16:14:27 +11:00
edition_panic.rs use slice::contains where applicable 2025-03-28 12:21:21 +00:00
env.rs Remove AstDeref. 2025-05-10 08:58:47 +10:00
errors.rs make cfg_select a builtin macro 2025-07-13 14:34:40 +02:00
format.rs Implement DesugaringKind::FormatLiteral 2025-06-22 10:58:25 +02:00
format_foreign.rs Simplify printf and shell format suggestions 2025-03-06 13:55:05 -08:00
global_allocator.rs Move ast::Item::ident into ast::ItemKind. 2025-04-01 14:08:57 +11:00
iter.rs Add iter macro 2025-06-03 10:52:32 -07:00
lib.rs make cfg_select a builtin macro 2025-07-13 14:34:40 +02:00
log_syntax.rs Adjust some pubs. 2024-04-26 13:29:20 +10:00
pattern_type.rs Reduce P<T> to a typedef of Box<T>. 2025-05-27 13:29:24 +10:00
proc_macro_harness.rs Use a symbol for ExpansionConfig::crate_name. 2025-06-20 13:17:39 +10:00
source_util.rs Improve path segment joining. 2025-07-17 08:37:19 +10:00
standard_library_imports.rs Use a symbol for ExpansionConfig::crate_name. 2025-06-20 13:17:39 +10:00
test.rs Improve path segment joining. 2025-07-17 08:37:19 +10:00
test_harness.rs Auto merge of #142706 - fee1-dead-contrib:push-zsznlqyrzsqo, r=oli-obk 2025-06-22 14:03:44 +00:00
trace_macros.rs Rollup merge of #134161 - nnethercote:overhaul-token-cursors, r=spastorino 2024-12-18 22:56:53 +08:00
util.rs Account for format_args in HiddenUnicodeCodepoints lint 2024-12-31 05:03:22 +00:00