rust/tests
bors 6159a44067 Auto merge of #148434 - oli-obk:inherent-const-impl, r=fee1-dead
Inherent const impl

Some constifications are annoying because we need to repeat `T: Trait` bounds from an impl block on the individual constified `const fn`s as `T: [const] Trait`. We've brainstormed solutions before, and one would be to have separate `const impl` blocks or sth. However the final syntax will look, I decided to just impl this syntax and either have sth nice on nightly to work with or at least move the discussion along.

Also interacts with the discussion around `impl const Trait for Type` vs `const impl Trait for Type`, as we may want to use the latter to keep inherent and trait impls in sync (unless we come up with even another scheme).

* [ ] rustdoc + tests
* [ ] macro stability /regression tests

r? `@fee1-dead`

cc `@traviscross` `@rust-lang/project-const-traits`
2025-11-19 02:23:56 +00:00
..
assembly-llvm Remove the "wasm32-bare" alias for wasm32-unknown-unknown 2025-11-17 14:11:07 +11:00
auxiliary move NonNull into minicore 2025-11-16 13:13:18 +01:00
codegen-llvm Auto merge of #148478 - RalfJung:rotating-funnel, r=Mark-Simulacrum 2025-11-17 04:36:16 +00:00
codegen-units Document fmt::Arguments internal representation. 2025-11-12 12:48:39 +01:00
coverage Bless coverage tests. 2025-11-12 12:48:45 +01:00
coverage-run-rustdoc
crashes Replace OffsetOf by an actual sum. 2025-11-18 00:10:03 +00:00
debuginfo rustc_codegen_llvm: Require opt-level >= 1 for index-based loop 2025-11-13 06:29:55 +01:00
incremental Bless tests. 2025-11-12 12:48:27 +01:00
mir-opt Replace OffsetOf by an actual sum. 2025-11-18 00:10:03 +00:00
pretty Document fmt::Arguments internal representation. 2025-11-12 12:48:39 +01:00
run-make Remove the "wasm32-bare" alias for wasm32-unknown-unknown 2025-11-17 14:11:07 +11:00
run-make-cargo Skip the panic-immediate-abort-works test when cross-compiling 2025-09-22 21:13:38 -04:00
rustdoc Add test for href of reexported enum variant 2025-11-18 12:23:32 +01:00
rustdoc-gui rustdoc-search: add test case for throbber 2025-10-07 12:59:58 -07:00
rustdoc-js Rollup merge of #147701 - lolbinarycat:rustdoc-search-alias-fix, r=GuillaumeGomez 2025-11-13 11:57:07 +11:00
rustdoc-js-std Add regression test for including derive macros in macro filtering 2025-10-27 16:00:32 +01:00
rustdoc-json Add tests for doc(attribute = "...") attribute 2025-08-28 15:56:30 +02:00
rustdoc-ui Rollup merge of #146495 - fmease:rustdoc-erase-doc-priv-items-attr, r=GuillaumeGomez 2025-11-11 21:09:33 +11:00
ui Auto merge of #148434 - oli-obk:inherent-const-impl, r=fee1-dead 2025-11-19 02:23:56 +00:00
ui-fulldeps When more than a single impl and less than 4 could apply, point at them 2025-10-31 20:44:01 +00:00
COMPILER_TESTS.md