rust/src/tools
Matthias Krüger 783778c631
Rollup merge of #121619 - RossSmyth:pfix_match, r=petrochenkov
Experimental feature postfix match

This has a basic experimental implementation for the RFC postfix match (rust-lang/rfcs#3295, #121618). [Liaison is](https://rust-lang.zulipchat.com/#narrow/stream/213817-t-lang/topic/Postfix.20Match.20Liaison/near/423301844) ```@scottmcm``` with the lang team's [experimental feature gate process](https://github.com/rust-lang/lang-team/blob/master/src/how_to/experiment.md).

This feature has had an RFC for a while, and there has been discussion on it for a while. It would probably be valuable to see it out in the field rather than continue discussing it. This feature also allows to see how popular postfix expressions like this are for the postfix macros RFC, as those will take more time to implement.

It is entirely implemented in the parser, so it should be relatively easy to remove if needed.

This PR is split in to 5 commits to ease review.

1. The implementation of the feature & gating.
2. Add a MatchKind field, fix uses, fix pretty.
3. Basic rustfmt impl, as rustfmt crashes upon seeing this syntax without a fix.
4. Add new MatchSource to HIR for Clippy & other HIR consumers
2024-03-22 11:36:58 +01:00
..
build-manifest Add bare metal riscv32 target. 2024-03-20 16:02:10 +01:00
build_helper Do not try to format removed files 2024-03-05 15:07:41 +00:00
bump-stage0 make x.py clippy download and use beta clippy 2023-12-16 15:24:59 -05:00
cargo@d438c80c45 Update cargo 2024-03-19 18:31:12 -04:00
cargotest Don't ask for a specific branch in cargotest 2023-12-04 12:11:44 +02:00
clippy Rollup merge of #121619 - RossSmyth:pfix_match, r=petrochenkov 2024-03-22 11:36:58 +01:00
collect-license-metadata Fix generate-copyright tool. 2023-11-27 11:03:53 +00:00
compiletest Rollup merge of #122786 - Enselic:remove_and_create_dir_all, r=onur-ozkan 2024-03-20 20:29:47 -04:00
coverage-dump Step all bootstrap cfgs forward 2024-02-08 07:44:34 -05:00
error_index_generator Stop using String for error codes. 2024-01-29 07:41:41 +11:00
expand-yaml-anchors
generate-copyright Fix generate-copyright tool. 2023-11-27 11:03:53 +00:00
generate-windows-sys Bump windows-bindgen to 0.55.0 2024-03-12 16:05:58 +00:00
html-checker
jsondocck jsondocck: bump jsonpath to 0.3, dropping few dup dependencies 2023-11-18 12:56:54 +03:00
jsondoclint Fix bootstrap bump fallout 2024-03-20 08:49:13 -04:00
linkchecker Switch linkchecker to use html5ever for html parsing. 2024-02-08 14:23:40 -08:00
lint-docs Split refining_impl_trait lint into _reachable, _internal variants 2024-03-05 16:19:16 -08:00
lld-wrapper linker: Remove -Zgcc-ld option 2023-10-08 10:05:25 +03:00
llvm-bitcode-linker LLVM Bitcode Linker: Added crate 2024-03-11 13:35:35 +01:00
miri Rollup merge of #122060 - clubby789:stabilize-imported-main, r=lcnr 2024-03-18 22:24:37 +01:00
miropt-test-tools tidy: wrap regexes with lazy_static 2024-02-17 12:29:05 +03:00
opt-dist Auto merge of #119418 - aaupov:master, r=Kobzol 2024-03-16 11:18:39 +00:00
remote-test-client use u64 to represent file size 2024-01-21 18:16:22 +03:00
remote-test-server use u64 to represent file size 2024-01-21 18:16:22 +03:00
replace-version-placeholder
rls
run-make-support Convert some WebAssembly run-make tests to Rust 2024-03-11 09:36:35 -07:00
rust-analyzer Merge commit '5ecace48f6' into sync-from-ra 2024-03-17 11:04:52 +02:00
rust-demangler
rust-installer support no-op compression profile in rust-installer 2024-02-22 01:35:57 +03:00
rustbook dedupe env_logger, drop is-terminal 2024-02-22 14:35:21 +03:00
rustdoc
rustdoc-gui Improve display of parallel jobs in rustdoc-gui tester script 2023-10-16 20:16:08 +02:00
rustdoc-gui-test
rustdoc-js rustdoc-search: remove parallel searchWords array 2023-12-15 16:26:35 -07:00
rustdoc-themes
rustfmt Rollup merge of #121619 - RossSmyth:pfix_match, r=petrochenkov 2024-03-22 11:36:58 +01:00
suggest-tests Suggest pattern tests when modifying exhaustiveness 2024-02-08 01:51:12 +01:00
tidy Avoid noop rewrite of issues.txt 2024-03-21 13:02:40 -07:00
tier-check
unicode-table-generator
unstable-book-gen
x
cherry-pick.sh
publish_toolstate.py