Commit graph

168804 commits

Author SHA1 Message Date
Tshepang Mbambo
48782ebaea small README improvements 2025-12-13 15:56:22 +02:00
Tshepang Mbambo
ef04de5f20 sembr nit (missed by tool) 2025-12-13 15:54:54 +02:00
Tshepang Mbambo
42334f76a7 sembr README.md 2025-12-13 15:22:27 +02:00
cyrgani
900c79ac89 update some outdated infos on error codes 2025-12-12 21:27:18 +00:00
xizheyin
49db9ec01b Update and add more details for Providers
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>

Co-authored-by: Boxy <rust@boxyuwu.dev>
2025-12-13 00:47:25 +08:00
Redddy
73c682a1fd
Add link to needs test issues in getting-started.md 2025-12-12 16:00:26 +09:00
Jieyou Xu
7897102fde
Make test suite formatting remark more precise 2025-12-12 09:18:26 +08:00
Boxy
97b86810be
Merge pull request #2680 from BoxyUwU/binders_example_error
make more clear code snippet is supposed to error
2025-12-12 00:12:22 +00:00
Boxy
a9fe1b4cb2
link to rust forge review policy in readme 2025-12-12 00:06:32 +00:00
Boxy Uwu
bceccc2eb3 link to forge policy 2025-12-12 00:02:33 +00:00
Boxy
2b195c3e02
Add LoongArch notification group instructions 2025-12-11 23:58:23 +00:00
Boxy
298a9d3b4e
remove CI dashboard :( 2025-12-11 23:54:52 +00:00
Boxy Uwu
ce822cd6f2 remove dashboard :( 2025-12-11 23:53:21 +00:00
Boxy
1e9e5c9f34
clarify test suite is not formatted 2025-12-11 23:50:54 +00:00
WANG Rui
3662b4ca36 Add LoongArch notification group instructions 2025-12-12 07:49:37 +08:00
Boxy Uwu
31f801ef40 clarify test suite is not formatted 2025-12-11 23:48:40 +00:00
Boxy Uwu
8e77f362c7 make more clear code snippet is supposed to error 2025-12-11 23:39:22 +00:00
Boxy
25cb251941
Merge pull request #2429 from smanilov/patch-18
Update opaque-types-type-alias-impl-trait.md
2025-12-11 21:21:41 +00:00
Boxy
e58de3a54c
clarify why define_opaque isnt needed 2025-12-11 21:18:21 +00:00
Boxy Uwu
0e81edcc67 fix help wanted search 2025-12-11 21:14:14 +00:00
Tshepang Mbambo
5d056facf1
Merge pull request #2561 from rust-lang/tshepang-patch-1
make sentence more simple
2025-12-11 22:58:31 +02:00
Jakub Beránek
294d30437b
Merge pull request #2649 from Walnut356/debuginfo
Add Debug Info section
2025-12-11 21:37:44 +01:00
Boxy
30eb6adf41
say "certain" 2025-12-11 20:18:57 +00:00
Boxy
a22e0a3b03
Basic const generics docs 2025-12-11 20:01:50 +00:00
Redddy
6672a89f98
Fix broken link for 'Uniqueness and Reference Immutability' 2025-12-11 23:47:25 +09:00
Boxy Uwu
c17a0f4256 move docs about ambig ty and consts 2025-12-10 16:08:39 +00:00
Boxy Uwu
f4ee932b88 initial const generics docs 2025-12-10 16:05:42 +00:00
lcnr
49a6c11460
Merge pull request #2667 from lcnr/type-system-invariants
add another type system invariant
2025-12-10 15:06:46 +01:00
lcnr
852299de4d
Merge pull request #2668 from ShoyuVanilla/ra-solver
Mention sharing the solver with rust-analyzer
2025-12-09 11:57:18 +01:00
Urgau
ac2a424fb3 Remove [no-mentions] handler in our triagebot config
https://github.blog/changelog/2025-11-07-removing-notifications-for-mentions-in-commit-messages/
2025-12-08 19:03:21 +01:00
Shoyu Vanilla
bbb2f274bb Mention sharing the solver with rust-analyzer 2025-12-09 01:02:04 +09:00
Redddy
ce050d6571
Add Zed to quickstart 2025-12-05 02:02:48 +09:00
Jonathan Brouwer
023a931bb4
Merge pull request #2670 from rust-lang/rustc_clean
Add a section about `rustc_clean`
2025-12-03 17:13:14 +01:00
Jonathan Brouwer
8d70cfecbe
Add a section about rustc_clean 2025-12-03 17:10:50 +01:00
Eric Huss
f113df3375 Remove pagetoc
This has been subsumed by the update to mdbook 0.5. I just forgot
to remove this in https://github.com/rust-lang/rustc-dev-guide/pull/2652.
2025-12-02 16:44:15 -08:00
León Orell Valerian Liehr
b55fefc583
Merge pull request #2669 from fmease/fix-ed-range
Fix example which wrongly implied that the upper bound of edition ranges was inclusive
2025-12-02 11:53:01 +01:00
León Orell Valerian Liehr
5e0b153346
Fix example which wrongly implied that the upper bound of edition ranges was inclusive
And explicitly state the fact that the upper bound is exclusive since only giving an example is too implicit.
2025-12-02 11:47:22 +01:00
lcnr
b3381908ba
Update src/solve/invariants.md
Co-authored-by: Tshepang Mbambo <hopsi@tuta.io>
2025-12-01 21:38:23 +01:00
Boxy
8b15760b2e
Add coercions chapter and split out non hir typeck stuff 2025-12-01 16:23:09 +00:00
Boxy
b55796faca
Uppper typo
Co-authored-by: Santiago Pastorino <spastorino@gmail.com>
2025-12-01 16:22:27 +00:00
lcnr
0f5b29a4d4 add invariant 2025-12-01 13:30:51 +01:00
The rustc-josh-sync Cronjob Bot
5a04906f19 Merge ref 'dfe1b8c97b' from rust-lang/rust
Pull recent changes from https://github.com/rust-lang/rust via Josh.

Upstream ref: dfe1b8c97b
Filtered ref: eb856a41dd3eb495ef922b9e975232ef19f22371
Upstream diff: 1be6b13be7...dfe1b8c97b

This merge was created using https://github.com/rust-lang/josh-sync.
2025-12-01 04:28:34 +00:00
The rustc-josh-sync Cronjob Bot
c5e928d5ac Prepare for merging from rust-lang/rust
This updates the rust-version file to dfe1b8c97b.
2025-12-01 04:28:14 +00:00
bors
dfe1b8c97b Auto merge of #149463 - cyrgani:comma-fix, r=chenyukang
add a missing comma to default r-a settings file
2025-11-30 21:15:15 +00:00
Matthias Krüger
97b5b9b817
Rollup merge of #148169 - fmease:rustdoc-bad-intra-bad-preprocess, r=lolbinarycat
Fix bad intra-doc-link preprocessing

How did rust-lang/rust#147981 happen?

1. We don't parse intra-doc links as Rust paths or qpaths. Instead they follow a very lenient bespoke grammar. We completely ignore Markdown links if they contain characters that don't match `/[a-zA-Z0-9_:<>, !*&;]/` (we don't even emit lint *broken-intra-doc-links* for these).
2. PR [#132748](https://github.com/rust-lang/rust/pull/132748) made rustdoc intepret more Markdown links as potential intra-doc links. Namely, if the link is surrounded by backticks (and some other conditions apply) then it doesn't matter if the (partially processed) link contains bad characters as defined above (cc `ignore_urllike && should_ignore_link(path_str)`).
3. However, rustdoc's `preprocess_link` must be kept in sync with a simplified counterpart in rustc. More specifically, whenever rustdoc's preprocessor returns a successful result then rustc's must yield the same result. Otherwise, rustc doesn't resolve the necessary links for rustdoc.
4. This uncovered a "dormant bug" / "mistake" in rustc's `preprocess_link`. Namely, when presented with a link like `struct@Type@suffix`, it didn't cut off the disambiguator if present (here: `struct@`). Instead it `rsplit('``@')``` which is incorrect if the "path" contains ```@``` itself (yielding `suffix` instead of `Type@suffix` here). Prior to PR [#132748](https://github.com/rust-lang/rust/pull/132748), a link like ``[`struct@Type@suffix`]`` was not considered a potential intra-doc link / worth querying rustc for. Now it is due to the backticks.
5. Finally, since rustc didn't record a resolution for `Type@suffix` (it only recorded `suffix` (to be `Res::Err`)), we triggered an assertion we have in place to catch cases like this.

Fixes rust-lang/rust#147981.

I didn't and still don't have the time to investigate if rust-lang/rust#132748 led to more rustc/rustdoc mismatches (after all, the PR made rustdoc's `preprocess_link` return `Some(Ok(_))` in more cases). I've at least added another much needed "warning banner" & made the existing one more flashy.

While this fixes a stable-to-beta regression, I don't think it's worth beta backporting, esp. since it's only P-medium and since the final 1.91 release steps commence today / the next days, so it would only be stressful to get it in on time. However, feel free to nominate.

<sub>(I've written such a verbose PR description since I tend to reread my old PR descriptions in the far future to fully freshen my memories when I have to work again in this area)</sub>

r? ``@lolbinarycat``
2025-11-30 18:44:22 +01:00
León Orell Valerian Liehr
55d90c0653
Fix bad intra-doc-link preprocessing 2025-11-30 13:08:59 +01:00
bors
03ce87dfb2 Auto merge of #149474 - RalfJung:miri, r=RalfJung
miri subtree update

Subtree update of `miri` to 0749929920.

Created using https://github.com/rust-lang/josh-sync.

r? `@ghost`
2025-11-30 10:27:52 +00:00
bors
91ab3083bb Auto merge of #149327 - lolbinarycat:rustdoc-types-fixup, r=notriddle
yet another improvment to rustdoc js typechecking

biggest improvment is the docs for `FunctionType` and the signatures for functions that accept names of crates were both slightly wrong, this has now been fixed.
2025-11-30 07:16:47 +00:00
cyrgani
33f2e82477 add a missing comma to default r-a settings file 2025-11-29 21:31:43 +00:00
bors
3ff30e7eaf Auto merge of #149462 - matthiaskrgr:rollup-vfwin7f, r=matthiaskrgr
Rollup of 3 pull requests

Successful merges:

 - rust-lang/rust#148746 (const validation: remove check for mutable refs in final value of const)
 - rust-lang/rust#148765 (std: split up the `thread` module)
 - rust-lang/rust#149454 (resolve: Identifier resolution refactorings)

r? `@ghost`
`@rustbot` modify labels: rollup
2025-11-29 20:11:02 +00:00