rust/src/tools
bors e217f94917 Auto merge of #134122 - oli-obk:push-zqnyznxtpnll, r=petrochenkov
Move impl constness into impl trait header

This PR is kind of the opposite of the rejected https://github.com/rust-lang/rust/pull/134114

Instead of moving more things into the `constness` query, we want to keep them where their corresponding hir nodes are lowered. So I gave this a spin for impls, which have an obvious place to be (the impl trait header). And surprisingly it's also a perf improvement (likely just slightly better query & cache usage).

The issue was that removing anything from the `constness` query makes it just return `NotConst`, which is wrong. So I had to change it to `bug!` out if used wrongly, and only then remove the impl blocks from the `constness` query. I think this change is good in general, because it makes using `constness` more robust (as can be seen by how few sites that had to be changed, so it was almost solely used specifically for the purpose of asking for functions' constness). The main thing where this change was not great was in clippy, which was using the `constness` query as a general DefId -> constness map. I added a `DefKind` filter in front of that. If it becomes a more common pattern we can always move that helper into rustc.
2024-12-13 16:17:34 +00:00
..
build-manifest Remove the wasm32-wasi target from rustc 2024-11-03 07:09:34 -08:00
bump-stage0 move src/tools/build_helper into src/build_helper 2024-11-11 11:19:11 +03:00
cargo@20a4432318 Update cargo 2024-12-06 18:47:36 -05:00
cargotest
clippy Auto merge of #134122 - oli-obk:push-zqnyznxtpnll, r=petrochenkov 2024-12-13 16:17:34 +00:00
collect-license-metadata collect-license-metadata: move JSON to root, and add a 'check' mode 2024-11-25 14:14:57 +00:00
compiletest Revert "Rollup merge of #134040 - clubby789:bootstrap-eprintln, r=jieyouxu" 2024-12-12 19:24:01 +08:00
coverage-dump coverage: Include the highest counter ID seen in .cov-map dumps 2024-10-11 21:04:37 +11:00
enzyme@2fe5164a24 Enzyme backend 2024-09-05 22:47:23 -04:00
error_index_generator Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
generate-copyright generate-copyright: Ensure output has UNIX line-endings for consistency. 2024-11-25 11:26:47 +00:00
generate-windows-sys
html-checker rustdoc: redesign toolbar and disclosure widgets 2024-09-10 17:56:05 -07:00
jsondocck jsondocck: Parse, don't validate commands. 2024-12-09 21:46:22 +00:00
jsondoclint Update rustc-hash to version 2 2024-10-20 00:12:49 -07:00
libcxx-version
linkchecker linkchecker: add a reminder on broken links to add new/renamed pages to SUMMARY.md for mdBooks 2024-10-15 20:46:16 +08:00
lint-docs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
lld-wrapper
llvm-bitcode-linker
miri Stabilize async closures 2024-12-13 00:04:56 +00:00
miropt-test-tools Emit error on skip-filecheck test containing filecheck directives 2024-10-19 13:24:07 +00:00
nix-dev-shell provide libz.so.1 in the nix-dev-shell 2024-12-10 00:24:21 +01:00
opt-dist move src/tools/build_helper into src/build_helper 2024-11-11 11:19:11 +03:00
remote-test-client
remote-test-server
replace-version-placeholder
rls
run-make-support Rollup merge of #134113 - jyn514:run-make-contains, r=jieyouxu 2024-12-10 20:16:04 +01:00
rust-analyzer Merge pull request #18663 from Veykril/push-syoklzkntykn 2024-12-11 10:06:28 +00:00
rust-installer Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
rustbook Rollup merge of #133456 - clubby789:cargo-update, r=ChrisDenton 2024-12-10 08:55:56 +01:00
rustc-perf@d5055e7804
rustc-perf-wrapper
rustdoc
rustdoc-gui Enable --no-sandbox option by default for rustdoc GUI tests 2024-10-04 12:11:23 +02:00
rustdoc-gui-test move src/tools/build_helper into src/build_helper 2024-11-11 11:19:11 +03:00
rustdoc-js rustdoc-search: show types signatures in results 2024-10-30 10:35:39 -07:00
rustdoc-themes Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
rustfmt Auto merge of #134052 - matthiaskrgr:rollup-puxwqrk, r=matthiaskrgr 2024-12-09 03:24:24 +00:00
suggest-tests move src/tools/build_helper into src/build_helper 2024-11-11 11:19:11 +03:00
tidy Rollup merge of #133456 - clubby789:cargo-update, r=ChrisDenton 2024-12-10 08:55:56 +01:00
tier-check
unicode-table-generator update cfgs 2024-11-27 15:14:54 +00:00
unstable-book-gen Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
wasm-component-ld Update wasm-component-ld to 0.5.11 2024-12-03 10:22:08 -08:00
x
cherry-pick.sh
publish_toolstate.py Reformat Python code with ruff 2024-12-04 23:03:44 +01:00