about summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2024-12-31Merge pull request #18802 from roife/fix-18800Lukas Wirth-2/+1
fix: incorrect file_id used for ranges in outgoing calls
2024-12-31Merge pull request #18805 from Veykril/push-pzurvxvoolxsLukas Wirth-18/+12
internal: Implement `<RaSpanServer as SourceFile>::eq`
2024-12-31fix: incorrect file_id used for ranges in outgoing callsroife-2/+1
2024-12-31Implement `<RaSpanServer as SourceFile>::eq`Lukas Wirth-9/+9
2024-12-31Remove recursion_limit special casing in testsLukas Wirth-9/+3
2024-12-31Merge pull request #18758 from mgsloan/scip-unique-symbolsLukas Wirth-323/+618
Improve SCIP symbols
2024-12-31Merge from rustcThe Miri Cronjob Bot-141/+329
2024-12-31feat: show go-to-type-def actions for subst when hoveringroife-3/+57
2024-12-31Preparing for merge from rustcThe Miri Cronjob Bot-1/+1
2024-12-31Fix typosericlehong-3/+3
Signed-off-by: ericlehong <193237094+ericlehong@users.noreply.github.com>
2024-12-31Auto merge of #134929 - compiler-errors:style-edition-2024, r=ytmimibors-10/+6
Stabilize `style_edition = "2024"` in-tree This PR stabilizes the `style_edition` flag in rustfmt. **Why am I doing this in-tree?** The beta release cut is imminent (according to forge, on January 3) and this is the most lightweight approach to getting this flag stable on nightly. It's imperative (as far as I can tell -- `@traviscross` can verify or disagree) that we stabilize the `style_edition` flag so that users can control their style edition separately from the edition. I'm happy to move this PR to the rustfmt repo and subsequently prepare a subtree sync if someone on `@rust-lang/rustfmt` believes that we should get this landed on the rustfmt side then synced. If this is the right recourse, I'd like to note that this is still quite time-sensitive. However, I'm happy to dedicate time to get this done if necessary, since I'd really like to un-jeopardize the style edition. Tracking: - https://github.com/rust-lang/rust/issues/123799
2024-12-31Stabilize style_edition 2024 in-treeMichael Goulet-10/+6
2024-12-30Auto merge of #134757 - RalfJung:const_swap, r=scottmcmbors-10/+60
stabilize const_swap libs-api FCP passed in https://github.com/rust-lang/rust/issues/83163. However, I only just realized that this actually involves an intrinsic. The intrinsic could be implemented entirely with existing stable const functionality, but we choose to make it a primitive to be able to detect more UB. So nominating for `@rust-lang/lang` to make sure they are aware; I leave it up to them whether they want to FCP this. While at it I also renamed the intrinsic to make the "nonoverlapping" constraint more clear. Fixes #83163
2024-12-30Windows: Enable issue 70093 link testsChris Denton-2/+0
2024-12-30Move `container_to_definition` function into `enclosing_definition`Michael Sloan-19/+15
2024-12-30Remove erroneous omit of inherent implsMichael Sloan-9/+0
Should have been included in 34dc94bb2d05def8b88739a9382b127feb1a35a0
2024-12-30TODO -> FIXMEMichael Sloan-10/+12
2024-12-30Make `impl HirDisplay for TraitRef` provide just the trait typeMichael Sloan-68/+24
2024-12-30Add test cases for #10583yanglsh-0/+357
2024-12-30Rollup merge of #134922 - ericlehong:fix/typos, r=lqdMatthias Krüger-1/+1
Fix typos This PR fixes typos errors in comments, docs and logs. Thank you very much.
2024-12-30Rollup merge of #134911 - HigherOrderLogic:master, r=onur-ozkanMatthias Krüger-3/+3
chore: fix typos This PR fixes typos errors in docstring only, so functionality wise, it should stay the same.
2024-12-30fmtRalf Jung-2/+2
Co-authored-by: scottmcm <scottmcm@users.noreply.github.com>
2024-12-30deny usage of FileCheck prefixes as revision namesDavis Muro-0/+25
2024-12-30refactor snapshot-tests detection in runnablesroife-92/+104
2024-12-30Fix render of literal to be rendered in codeblockdfireBird-24/+65
2024-12-30Fix typosericlehong-1/+1
Signed-off-by: ericlehong <193237094+ericlehong@users.noreply.github.com>
2024-12-30Merge pull request #18790 from ChayimFriedman2/proper-makeLukas Wirth-60/+1672
internal: Create a quoting mechanism instead of textual AST make
2024-12-30Merge pull request #18794 from 1hakusai1/fix_fill_match_arm_in_tokio_mainLukas Wirth-9/+7
Fix bug of "fill match arm" action in tokio::main macro
2024-12-30Merge pull request #18793 from ChayimFriedman2/fixupLukas Wirth-14/+14
minor: Remove unneeded conversions
2024-12-30Fix bug of "fill match arm" action in tokio::main macro1hakusai1-9/+7
https://github.com/rust-lang/rust-analyzer/issues/18027
2024-12-30Remove unneeded conversionsChayim Refael Friedman-14/+14
2024-12-30Merge pull request #18792 from Veykril/push-wonkvzozmmwzLukas Wirth-315/+345
Decouple proc-macro server protocol from the server implementation
2024-12-30Move proc-macro protocol into legacy moduleLukas Wirth-33/+38
2024-12-30Cleanup proc-macro dylib handlingLukas Wirth-74/+74
2024-12-30Decouple proc-macro server protocol from the server implementationLukas Wirth-218/+243
2024-12-30chore: fix typosHoru-3/+3
2024-12-30fix: avoid generating colliding names in extract_variableroife-91/+126
2024-12-30Auto merge of #134865 - clubby789:proc-macro-tls, r=onur-ozkanbors-4/+75
bootstrap: Don't apply -Ztls-model=initial-exec to deps of proc-macros Fixes #134863 1. Checks if a crate name is in a static list before applying the flag 2. Adds a tidy check that gathers transitive deps of proc macros and ensures the list is up to date cc `@bjorn3` - the issue specifies `rustc_fluent_macro` but I assume this applies to all proc macro crates.
2024-12-30Move some more AST makers to the quote macroChayim Refael Friedman-53/+58
And implement addons as necessary. There are many more makers to be moved, and I'm not completely satisfied with this (due to the ease of making a mistake in the AST structure, and slightly less but also because of the need to remember whitespaces), but this is already enough to see how this will look like.
2024-12-30Create a `quote!`-like API for crafting AST nodesChayim Refael Friedman-9/+182
Instead of messing with textual `make`. And port one `make` helper to it, for the sake of testing.
2024-12-30Add a function to convert a SyntaxKind to its text, where possibleChayim Refael Friedman-0/+341
This will also help for the make's quote macro.
2024-12-30Generate a method for static retrieval of the SyntaxKind of a node, where ↵Chayim Refael Friedman-0/+1093
possible This will help for the quote macro for `ast::make`.
2024-12-29Add tidy check for list of proc-macro crate transitive dependenciesclubby789-4/+75
2024-12-29fix: Fix invalid `-O` flag used by cfg discoveryLukas Wirth-2/+23
2024-12-29Merge pull request #18785 from Veykril/push-uvsqposqyvmoLukas Wirth-436/+438
Cleanup toolchain info fetching
2024-12-29Merge pull request #18787 from Veykril/push-uymlpukspxqrLukas Wirth-1/+5
Automatically cancel CI checks on new push to same PR
2024-12-29Inline toolchain_info moduleLukas Wirth-17/+19
2024-12-29Automatically cancel CI checks on new push to same PRLukas Wirth-1/+5
2024-12-29Merge pull request #18774 from Veykril/push-ysppqxpuknnwLukas Wirth-129/+1335
Implement parameter variance inference
2024-12-29Force a current dir to be supplied for rustc info fetchingLukas Wirth-25/+37