about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2024-12-31Preparing for merge from rustcThe Miri Cronjob Bot-1/+1
2024-12-31Fix typosericlehong-7/+7
Signed-off-by: ericlehong <193237094+ericlehong@users.noreply.github.com>
2024-12-31Rollup merge of #134919 - Zalathar:x-test-compiler, r=jieyouxuStuart Cook-2/+24
bootstrap: Make `./x test compiler` actually run the compiler unit tests Fixes #134916.
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-31Unsafe binder support in rustdocMichael Goulet-12/+49
2024-12-31Stabilize style_edition 2024 in-treeMichael Goulet-10/+6
2024-12-31Make `./x test compiler` actually run the compiler unit testsZalathar-2/+24
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 #134924 - ranger-ross:cleanup-ci-output, r=KobzolMatthias Krüger-1/+2
ci: Cleanup docker build logs in CI Cleaning up the CI logs to make reviewing CI failures easier. This PR adds a `::group` around the docker tag hash input which is pretty large (250+ lines) and is probably not relevant for most people. Related to #134910 , see this [comment](https://github.com/rust-lang/rust/issues/134910#issuecomment-2565612463)
2024-12-30Rollup merge of #134922 - ericlehong:fix/typos, r=lqdMatthias Krüger-6/+6
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-7/+7
chore: fix typos This PR fixes typos errors in docstring only, so functionality wise, it should stay the same.
2024-12-30Rollup merge of #132477 - Noratrieb:illumos-oxide, r=workingjubileeMatthias Krüger-2/+45
Add illumos target documentation Fixes https://github.com/rust-lang/rust/pull/130132#issuecomment-2339055221 `@jclulow` `@pfmooney` I'm adding you as requested. The page is very barebones (as I do not know illumos well) and could use some improvements (for example in the "Cross-compilation toolchains and C code" section). Feel free to suggest improvements (or rewrite it from scratch) if you find something.
2024-12-30fmtRalf Jung-2/+2
Co-authored-by: scottmcm <scottmcm@users.noreply.github.com>
2024-12-30Update booksrustbot-0/+0
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-31ci: Cleanup docker build logs in CIranger-ross-1/+2
2024-12-30Add illumos target documentationNoratrieb-2/+45
2024-12-30Fix render of literal to be rendered in codeblockdfireBird-24/+65
2024-12-30Fix typosericlehong-6/+6
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-30Opt into, rather than out of, linkcheck (#2180)Noah Lev-7/+9
This makes it less of a hassle to render the book locally.
2024-12-30chore: fix typosHoru-7/+7
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-5/+150
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-30Remove stale implementation details of coverage instrumentation (#2179)Stuart Cook-354/+2
This level of detail in the dev guide is a maintenance burden; better to leave this sort of thing to in-tree comments.
2024-12-29Auto merge of #134901 - matthiaskrgr:rollup-b0wwuht, r=matthiaskrgrbors-1/+7
Rollup of 4 pull requests Successful merges: - #134870 (Fix sentence fragment in `pin` module docs) - #134884 (Fix typos) - #134892 (Added codegen test for elidings bounds check when indexes are manually checked) - #134894 (Document how to run the split Docker pipelines) r? `@ghost` `@rustbot` modify labels: rollup
2024-12-29bootstrap: Don't apply `-Ztls-model=initial-exec` to deps of proc-macrosclubby789-1/+4
2024-12-29Add tidy check for list of proc-macro crate transitive dependenciesclubby789-4/+146
2024-12-29Remove properly tracked config file from .gitignore & add support for ↵Martin Liška-9/+18
skipping of link-checking (#2023) * Remove properly tracked config file from .gitignore The file is part of the git history and is a configuration file. Fixes: #2018 * Add env. variable support * Refactoring * Really skip linkcheck if requested
2024-12-29Add a couple of linkcheck exceptions: (#2120)Martin Liška-1/+7
* Add a couple of linkcheck exceptions: Addresses: ``` Server returned 500 Internal Server Error for https://github.com/rust-lang/rust/pulls?q=is%3Apr+label%3AS-inactive+is%3Aclosed Server returned 401 Unauthorized for https://objects.githubusercontent.com/github-production-release-asset-2e65be/343907537/60cd5880-7b81-11eb-9502-68d5f473ebe2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20241103%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241103T085906Z&X-Amz-Expires=300&X-Amz-Signature=e532fd7d2bd271f12988982bc8e5a47a0f966b40452b55d444bbb74292ac1fb1&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Drustc.generic.wpaProfile&response-content-type=application%2Foctet-stream Server returned 500 Internal Server Error for https://github.com/rust-lang/rust/pulls?q=is%3Apr+label%3AS-inactive ``` * Skip only github.com/rust-lang/rust/pulls?q=
2024-12-30Add missing link for [Node] (#2177)Martin Liška-0/+1