about summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2025-04-09Add a Miri test for 134713Scott McMurray-0/+30
2025-04-09Merge pull request #19550 from Veykril/push-rsskztqzwuzkLukas Wirth-87/+104
refactor: Turn `LifetimeRef` into an enum
2025-04-09refactor: Turn `LifetimeRef` into an enumLukas Wirth-87/+104
This makes things more structured
2025-04-09Rollup merge of #139573 - RalfJung:miri-sync, r=RalfJungMatthias Krüger-801/+789
Miri subtree update r? `@ghost`
2025-04-09update cfgsBoxy-3/+0
2025-04-09Merge pull request #19255 from geetanshjuneja/masterLukas Wirth-1/+204
Add children modules feature
2025-04-09Merge pull request #19462 from Veykril/push-ypvprvvwkyllLukas Wirth-7988/+6728
refactor: Lower type-refs before type inference
2025-04-09refactor: Lower type-refs before type inferenceLukas Wirth-7988/+6728
This refactors how we deal with items in hir-def lowering. - It now lowers all of them through an "ExpressionStore" (kind of a misnomer as this point) as their so called *Signatures. - We now uniformly lower type AST into TypeRefs before type inference. - Likewise, this moves macro expansion out of type inference, resulting in a single place where we do non-defmap macro expansion. - Finally, this PR removes a lot of information from ItemTree, making the DefMap a lot less likely to be recomputed and have it only depend on actual early name resolution related information (not 100% true, we still have ADT fields in there but thats a follow up removal).
2025-04-09compiletest: Add directive `dont-require-annotations`Vadim Petrochenkov-15/+41
for making matching on specific diagnostic kinds non-exhaustive
2025-04-09Merge pull request #4067 from CraftSpider/windows-metadataRalf Jung-191/+896
Support getting file metadata on Windows
2025-04-09Auto merge of #139552 - matthiaskrgr:rollup-b194mk8, r=matthiaskrgrbors-27/+53
Rollup of 10 pull requests Successful merges: - #139494 (Restrict some queries by def-kind more) - #139496 (Revert r-a changes of rust-lang/rust#139455) - #139506 (add missing word in doc comment (part 2)) - #139515 (Improve presentation of closure signature mismatch from `Fn` trait goal) - #139520 (compiletest maintenance: sort deps and drop dep on `anyhow`) - #139523 (Rustc dev guide subtree update) - #139526 (Fix deprecation note for std::intrinsics) - #139528 (compiletest: Remove the `--logfile` flag) - #139541 (Instantiate higher-ranked transmute goal w/ placeholders before emitting sub-obligations) - #139547 (Update library tracking issue template to set S-tracking-unimplemented) r? `@ghost` `@rustbot` modify labels: rollup
2025-04-08Implement trivial file operations - opening and closing handles. Just enough ↵Rune Tynan-160/+838
to get file metadata.
2025-04-08Do not optimize out SwitchInt before borrowck, or if Zmir-preserve-ubMichael Goulet-1/+30
2025-04-08Rollup merge of #139528 - Zalathar:no-logfile, r=jieyouxuMatthias Krüger-6/+1
compiletest: Remove the `--logfile` flag This flag is deprecated in libtest (#134283), and there's no evidence in-tree of this flag actually being passed to compiletest. For detailed information about test results, bootstrap parses JSON output from compiletest instead (#108659). As part of my experimental work on removing the libtest dependency from compiletest, it's useful to be able to disconnect libtest functionality that isn't needed.
2025-04-08Rollup merge of #139520 - jieyouxu:compiletest-maintenance-1, r=lqdMatthias Krüger-14/+14
compiletest maintenance: sort deps and drop dep on `anyhow` Two changes: 1. Sort compiletest deps alphabetically because it was annoying me (harder to quickly glance what deps compiletest is using). 2. Drop dependency on `anyhow`. There's only one usage of `anyhow`, which is for `with_context` on sth that would immediately panic anyway.
2025-04-08Rollup merge of #139496 - Skgland:139455-went-too-far, r=VeykrilMatthias Krüger-7/+38
Revert r-a changes of rust-lang/rust#139455 I discovered https://github.com/rust-lang/rust/issues/132735#issuecomment-2784205477 that I might have done too much in rust-lang/rust#132735 by also removing support in r-a. So this reverts the commit with the changes to r-a. r? RalfJung
2025-04-08Rollup merge of #139485 - petrochenkov:errkind-light, r=oli-obk,jieyouxuMatthias Krüger-94/+96
compiletest: Stricter parsing for diagnostic kinds Non-controversial parts of https://github.com/rust-lang/rust/pull/139427 not requiring many changes in the test suite. r? ``@jieyouxu``
2025-04-08Merge pull request #19536 from jackh726/closure-inferDavid Barsky-157/+405
Port closure inference from rustc
2025-04-08compiletest: Remove the `--logfile` flagZalathar-6/+1
This flag is deprecated in libtest, and there's no evidence in-tree of this flag actually being passed to compiletest. (For detailed information about test results, bootstrap parses JSON output from compiletest instead.)
2025-04-08Auto merge of #139525 - Zalathar:rollup-5t5xsrw, r=Zalatharbors-82/+11
Rollup of 10 pull requests Successful merges: - #138676 (Implement overflow for infinite implied lifetime bounds) - #139024 (Make error message for missing fields with `..` and without `..` more consistent) - #139098 (Tell LLVM about impossible niche tags) - #139124 (compiler: report error when trait object type param reference self) - #139321 (Update to new rinja version (askama)) - #139346 (Don't construct preds w escaping bound vars in `diagnostic_hir_wf_check`) - #139386 (make it possible to use stage0 libtest on compiletest) - #139421 (Fix trait upcasting to dyn type with no principal when there are projections) - #139464 (Allow for reparsing failure when reparsing a pasted metavar.) - #139490 (Update some comment/docs related to "extern intrinsic" removal) r? `@ghost` `@rustbot` modify labels: rollup
2025-04-08compiletest: Trim whitespace from environment variable namesZalathar-16/+13
2025-04-08Rollup merge of #139490 - RalfJung:unstable-intrinsics-docs, r=oli-obkStuart Cook-79/+8
Update some comment/docs related to "extern intrinsic" removal Follow-up to https://github.com/rust-lang/rust/pull/139455. r? `@oli-obk`
2025-04-08Rollup merge of #139321 - GuillaumeGomez:update-rinja, ↵Stuart Cook-3/+3
r=notriddle,lolbinarycat,yotamofek Update to new rinja version (askama) Askama maintenance was handed over to rinja maintainers so new `rinja` release is actually `askama`. More information [here](https://blog.guillaume-gomez.fr/articles/2025-03-19+Askama+and+Rinja+merge). r? ``@notriddle``
2025-04-08make hover_feature test less fragileRalf Jung-79/+8
2025-04-08Auto merge of #139474 - jieyouxu:bump-rustc-perf, r=Kobzolbors-1/+0
rustc-perf: update to `c0f3b53c8e5de87714d18a5f42998859302ae03a` Hopefully unblocks https://github.com/rust-lang/rust/pull/139279. r? `@Kobzol` (or compiler) `@bors` rollup=never
2025-04-08compiletest: drop dependency on `anyhow`Jieyou Xu-7/+5
Currently `compiletest` panics all over the place but doesn't really use `anyhow` anyway. I'd like to introduce some more principled error handling and disciplined diagnostic reporting in the near future.
2025-04-08compiletest: sort dependencies alphabeticallyJieyou Xu-8/+10
2025-04-08test_dependencies: bump tokioRalf Jung-3/+3
2025-04-08Merge pull request #19541 from Veykril/push-twqrorwqzmwvLukas Wirth-109/+291
fix(auto-import): Prefer imports of matching types for argument lists
2025-04-08fix(auto-import): Prefer imports of matching types for argument lists Lukas Wirth-109/+291
2025-04-07Port closure inference from rustcjackh726-157/+405
2025-04-07Revert "remove rust-analyser support for `extern "rust-intrinsic"` blocks"Bennet Bleßmann-7/+38
This reverts commit 51b51b51d7931da85280382a81c4dd80c73ca754.
2025-04-07compiletest: Avoid ignoring empty diagnostics in one more placeVadim Petrochenkov-2/+1
This catches some silly notes emitted by rustc, which should ideally be fixed
2025-04-07compiletest: Stricter parsing for diagnostic kindsVadim Petrochenkov-35/+37
2025-04-07compiletest: Always preserve kind for compiler diagnosticsVadim Petrochenkov-22/+36
Those that didn't previously preserved kind are now marked as not requiring annotations to keep the previous behavior. Also, do not lose diagnostics with an empty message.
2025-04-07compiletest: Cleanup collection of actual errorsVadim Petrochenkov-48/+35
2025-04-07cargo xtask tidygeetanshjuneja-2/+9
2025-04-07added children modulesgeetanshjuneja-0/+196
2025-04-07targest → targets (spotted as I had the same typo)Ralf Jung-1/+1
2025-04-07Rollup merge of #139455 - Skgland:remove_rust-intrinsic_ABI, r=oli-obkStuart Cook-64/+9
Remove support for `extern "rust-intrinsic"` blocks Part of rust-lang/rust#132735 Looked manageable and there didn't appear to have been progress in the last two weeks, so decided to give it a try.
2025-04-07Rollup merge of #139035 - nnethercote:PatKind-Missing, r=oli-obkStuart Cook-5/+11
Add new `PatKind::Missing` variants To avoid some ugly uses of `kw::Empty` when handling "missing" patterns, e.g. in bare fn tys. Helps with #137978. Details in the individual commits. r? ``@oli-obk``
2025-04-07Merge pull request #19425 from ConradIrwin/drop-drop-glue-gooLukas Wirth-421/+107
Tidy up drop glue notification
2025-04-07Merge pull request #19511 from snprajwal/fixmesLukas Wirth-47/+36
chore: clean up some FIXMEs
2025-04-07Merge pull request #19432 from ShoyuVanilla/issue-19431Lukas Wirth-26/+134
fix: Yet another false positive invalid cast diagnostic
2025-04-07tidy: remove `instant` dep exclusionJieyou Xu-1/+0
2025-04-07rustc-perf: update to `c0f3b53c8e5de87714d18a5f42998859302ae03a`Jieyou Xu-0/+0
2025-04-07Merge pull request #19512 from BenjaminBrienen/update-stdxLukas Wirth-97/+131
Upstream stdx changes
2025-04-07reduce the error tolerance to match algebraic and fast-math operationsRalf Jung-2/+3
2025-04-07big-allocs benchmark: use up less of the address space on 32bitRalf Jung-1/+4
2025-04-07Merge from rustcThe Miri Cronjob Bot-313/+615