about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2025-01-10Implement `#[rust_analyzer::skip]` for bodiesLukas Wirth-2/+86
2025-01-10Missing errorsjnyfah-11/+26
2025-01-10Re-implement rust string highlighting via tool attributeLukas Wirth-173/+386
2025-01-10Merge pull request #18904 from Veykril/push-yztnorquuyzwLukas Wirth-24/+134
Improve hover module path rendering
2025-01-10Implement implicit sized bound inlay hintsLukas Wirth-12/+192
2025-01-10Improve hover module path renderingLukas Wirth-24/+134
2025-01-10Merge pull request #18900 from ChayimFriedman2/stupid-hangLukas Wirth-7/+7
fix: Do not compute `prettify_macro_expansion()` unless the "Inline macro" assist has actually been invoked
2025-01-10Merge pull request #18902 from Veykril/push-znlsxykqrkooLukas Wirth-133/+184
internal: Add Definition::Crate
2025-01-10internal: Add Definition::CrateLukas Wirth-133/+184
This is its own thing so it should be handled specifically where possible
2025-01-10Rollup merge of #135251 - oli-obk:push-lmpyvvyrtplk, r=ytmimiJacob Pratt-12/+43
Only treat plain literal patterns as short See https://github.com/rust-lang/rust/pull/134228#discussion_r1905848384 and https://github.com/rust-lang/rust/pull/134228#discussion_r1905916702 for context. We never wanted to treat const blocks and paths as short, only plain literals. I don't know how to write a test for this, it.s not clear to me how the short pattern check actually affects the formatting
2025-01-10add change entry for `optimized-compiler-builtins`onur-ozkan-0/+5
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-10ensure `optimized_compiler_builtins` check for CI rustconur-ozkan-0/+3
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-10add coverage for target specific valueonur-ozkan-1/+8
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-10make `optimized-compiler-builtins` target configurableonur-ozkan-1/+11
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-01-10add MSVC slice providersWalnut-2/+27
2025-01-10add MSVC tuple providersWalnut-1/+58
2025-01-10Merge pull request #18901 from ChayimFriedman2/hir-reexportLukas Wirth-23/+28
minor: Remove two hir reexports
2025-01-10Merge pull request #18813 from Giga-Bowser/syntax-tree-viewLukas Wirth-701/+812
feat: Add a new and improved syntax tree view
2025-01-10Auto merge of #135319 - matthiaskrgr:rollup-un5lol6, r=matthiaskrgrbors-0/+97
Rollup of 8 pull requests Successful merges: - #133088 (`-Zrandomize-layout` harder. `Foo<T> != Foo<U>`) - #134619 (Improve prose around `as_slice` example of IterMut) - #134855 (Add `default_field_values` entry to unstable book) - #134908 (Fix `ptr::from_ref` documentation example comment) - #135275 (Add Pin::as_deref_mut to 1.84 relnotes) - #135294 (Make `bare-fn-no-impl-fn-ptr-99875` test less dependent on path width) - #135304 (Add tests cases from review of #132289) - #135308 (Make sure to walk into nested const blocks in `RegionResolutionVisitor`) r? `@ghost` `@rustbot` modify labels: rollup
2025-01-10Rollup merge of #134855 - estebank:default-field-values-unstable-docs, ↵Matthias Krüger-0/+93
r=jieyouxu Add `default_field_values` entry to unstable book Tracking issue: https://github.com/rust-lang/rust/issues/132162 RFC: https://github.com/rust-lang/rfcs/blob/master/text/3681-default-field-values.md
2025-01-10Rollup merge of #133088 - the8472:randomize-me-harder, r=workingjubileeMatthias Krüger-0/+4
`-Zrandomize-layout` harder. `Foo<T> != Foo<U>` Tracking issue: #106764 Previously randomize-layout only used a deterministic shuffle based on the seed stored in an Adt's ReprOptions, meaning that `Foo<T>` and `Foo<U>` were shuffled by the same seed. This change adds a similar seed to each calculated LayoutData so that a struct can be randomized both based on the layout of its fields and its per-type seed. Primitives start with simple seed derived from some of their properties. Though some types can no longer be distinguished at that point, e.g. usize and u64 will still be treated the same.
2025-01-10Auto merge of #135297 - flip1995:clippy-subtree-update, r=matthiaskrgrbors-432/+2000
Clippy subtree update r? `@Manishearth`
2025-01-10also initialize Layout field in rust-analyzerThe 8472-0/+4
2025-01-10Remove two hir reexportsChayim Refael Friedman-23/+28
2025-01-10Do not compute `prettify_macro_expansion()` unless the "Inline macro" assist ↵Chayim Refael Friedman-7/+7
has actually been invoked And not just called to be listed. This was a major performance hang when repeatedly switching back-and-forth between a large `include!`d file (but there are others)..
2025-01-09Add `default_field_values` entry to unstable bookEsteban Küber-0/+93
2025-01-09ci: Remove incorrect use of `continue-on-error`Noah Lev-2/+1
This will cause the CI build to be marked successful even if the build failed. Instead, use `if: '!cancelled()'` to always save the cache (except when the job is cancelled), even if the linkcheck failed. See https://stackoverflow.com/a/58859404 for more.
2025-01-09CI: fix name of jobsJakub Beránek-1/+1
There is a difference between the `image` (the Dockerfile), the `name` of the job (which determines also its properties) and the `full_name`, which includes the `auto/try/pr` prefix.
2025-01-09re-add a warning for old master branch, but with much simpler logicbinarycat-0/+3
instead of calling into git or checking the modification time of files, simply print the warning if there is a very large number of "modified" files. also make the wording much softer, so false positives are less alarming.
2025-01-09Add an action to copy an element from the syntax tree viewGiga Bowser-0/+55
2025-01-09Fix another issue with fixup reversingChayim Refael Friedman-5/+85
We need to *remove* the whole subtree, but we don't advance `i` by this, because it hasn't gotten there yet (and never will).
2025-01-09Remove the old syntax tree viewerGiga Bowser-700/+1
2025-01-09Add a new and improved syntax tree viewerGiga Bowser-4/+759
2025-01-09Merge commit '19e305bb57a7595f2a8d81f521c0dd8bf854e739' into ↵Philipp Krones-432/+2000
clippy-subtree-update
2025-01-09bootstrap: `std::io::ErrorKind::CrossesDevices` is finally stablePavel Grigorenko-4/+1
2025-01-09bump rustc-perfRémy Rakic-0/+0
in particular to get the new benchmark error handling
2025-01-09Auto merge of #135286 - matthiaskrgr:rollup-sxuq1nh, r=matthiaskrgrbors-110/+227
Rollup of 3 pull requests Successful merges: - #134898 (Make it easier to run CI jobs locally) - #135195 (Make `lit_to_mir_constant` and `lit_to_const` infallible) - #135261 (Account for identity substituted items in symbol mangling) r? `@ghost` `@rustbot` modify labels: rollup
2025-01-09Fix parsing cargo test json output by making stdout and optional fieldduncan-1/+5
2025-01-09Rollup merge of #134898 - Kobzol:ci-python-script, r=MarcoIeniMatthias Krüger-110/+227
Make it easier to run CI jobs locally This PR extends the Python CI script to perform a poor man's CI-like execution of a given CI job locally. It's not perfect, but it's better than nothing. r? `@jieyouxu`
2025-01-09Auto merge of #135268 - pietroalbini:pa-bump-stage0, r=Mark-Simulacrumbors-467/+472
Master bootstrap update Part of the release process. r? `@Mark-Simulacrum`
2025-01-09Merge pull request #18889 from ChayimFriedman2/subtle-completionLukas Wirth-1/+2
fix: Fix actual token lookup in completion's `expand()`
2025-01-09Merge pull request #18880 from PrototypeNM1/extra-includesLukas Wirth-3/+67
Add config setting which allows adding additional include paths to the VFS.
2025-01-09Merge pull request #18861 from ChayimFriedman2/await-editionLukas Wirth-316/+480
fix: Make edition per-token, not per-file
2025-01-09Merge pull request #18885 from qjerome/refactor-cargo-cfgsLukas Wirth-14/+21
refactor: struct holding cargo cfgs settings
2025-01-09Only treat plain literal patterns as shortOli Scherer-12/+43
2025-01-09Merge pull request #18890 from Veykril/push-nwnozlyppvzoLukas Wirth-5/+7
minor: Fixup macro error kinds
2025-01-09minor: Fixup macro error kindsLukas Wirth-5/+7
2025-01-09Merge pull request #18887 from vishruth-thimmaiah/refactor_completions_testsLukas Wirth-448/+322
refactor test helpers within ide-completions
2025-01-09Rollup merge of #135256 - onur-ozkan:weird-mod-position, r=clubby789,jieyouxuMatthias Krüger-2/+2
Move `mod cargo` below the import statements Just caught that during a [bootstrap reading-club](https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/.5BBRC.5D.20How.20do.20Steps.20and.20Paths.20work.3F) session.
2025-01-09Rollup merge of #135231 - Zalathar:test-step-notes, r=jieyouxuMatthias Krüger-0/+43
bootstrap: Add more comments to some of the test steps Some of the test steps have names that don't clearly indicate what they actually do. While there is ongoing experimental work to actually rename the steps (e.g. #135071), that's dependent on figuring out what the new names should actually be. In the meantime, we can still improve things by adding comments to help describe the steps, which will remain useful even after any renaming.