about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-09-08fix partial urlencoded link supportnixxo-12/+23
- added full urlencoding to properly check urlencoded anchor links against non-urlencoded heading IDs - added tests urlecoding provided by https://crates.io/crates/urlencoding
2025-09-08Apply requested changesIoaNNUwU-47/+25
2025-09-08Refactor how to get the span of a function headerFolkert de Vries-37/+32
2025-09-08c-variadic: update cmse-nonsecure exampleFolkert de Vries-19/+15
2025-09-08c-variadic: reject non-extern functionsFolkert de Vries-23/+26
2025-09-08Update booksrustbot-0/+0
2025-09-08clarify control flow of `check_c_variadic_type`Folkert de Vries-7/+16
2025-09-08disallow c-variadic associated functions (for now)Folkert de Vries-33/+46
there is no reason this should not work, really, we're just cutting some scope for now
2025-09-08disallow c-variadic coroutinesFolkert de Vries-2/+60
2025-09-08Auto merge of #146333 - matthiaskrgr:rollup-ib80jyw, r=matthiaskrgrbors-231/+426
Rollup of 7 pull requests Successful merges: - rust-lang/rust#146111 (Migrate more things in the new solver to specific `DefId`s) - rust-lang/rust#146298 (GVN: Ensure indirect is first projection in try_as_place.) - rust-lang/rust#146299 (docs(std): add error docs for path canonicalize) - rust-lang/rust#146310 (Allow static regions in `type_name`.) - rust-lang/rust#146313 (Some `rustc_middle` cleanups) - rust-lang/rust#146319 (Fix typo in default.rs) - rust-lang/rust#146320 (rustc-dev-guide subtree update) r? `@ghost` `@rustbot` modify labels: rollup
2025-09-08Update tracing, againDaniel Paoliello-6/+4
2025-09-08Merge pull request #20631 from Wilfred/remove_register_attrChayim Refael Friedman-62/+14
Remove support for register_attr
2025-09-08Implement better suggestions based on additional tests and other code pathsIoaNNUwU-29/+78
2025-09-08Suggest examples of format specifiers in error messagesIoaNNUwU-2/+118
2025-09-08feat: support navigation on primitivesRyan Mehri-17/+27
2025-09-08std: move `thread` into `sys` (rename only)joboet-0/+0
2025-09-08std: make address resolution weirdness local to SGXjoboet-216/+276
2025-09-08Remove support for register_attrWilfred Hughes-62/+14
This was removed in rustc in 2022: https://github.com/rust-lang/rust/pull/101123 Closes #20525.
2025-09-08disable core dumps for panic-uninitialized-zeroedAriel Ben-Yehuda-1/+16
That test causes a large amount of crashes. If a system has a /proc/sys/kernel/core_pattern that uploads core dumps enabled, it will take a long time to complete. Set dumpable to 0 to avoid that. Before: $ time ./panic-uninitialized-zeroed real 0m47.457s user 0m0.023s sys 0m0.021s After: $ ./panic-uninitialized-zeroed real 0m0.029s user 0m0.019s sys 0m0.010s
2025-09-08Rollup merge of #146320 - tshepang:rdg-sync, r=tshepangMatthias Krüger-64/+186
rustc-dev-guide subtree update Subtree update of `rustc-dev-guide` to https://github.com/rust-lang/rustc-dev-guide/commit/d03ffd422704a69078a26b57fecff058eb4161dd. Created using https://github.com/rust-lang/josh-sync. r? `@ghost`
2025-09-08Rollup merge of #146319 - justinyaodu:patch-1, r=jhprattMatthias Krüger-1/+1
Fix typo in default.rs This sentence currently reads: > Rust implements `Default` for various primitives types. I think it should just be "primitive types".
2025-09-08Rollup merge of #146313 - nnethercote:rustc_middle-ty-cleanups-2, r=lcnrMatthias Krüger-84/+54
Some `rustc_middle` cleanups Minor improvements I found while looking through this code. r? `@BoxyUwU`
2025-09-08Rollup merge of #146310 - nnethercote:fix-146249, r=lcnrMatthias Krüger-2/+18
Allow static regions in `type_name`. Fixes rust-lang/rust#146249. r? `@lcnr`
2025-09-08Rollup merge of #146299 - smirzaei:doc/improve-path-canonicalize-docs, r=jhprattMatthias Krüger-0/+8
docs(std): add error docs for path canonicalize This PR adds the missing error documentation for both [Path.canonicalize](https://doc.rust-lang.org/std/path/struct.Path.html#method.canonicalize) and [PathBuf.canonicalize](https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.canonicalize) methods. Since both methods are wappers around [fs::canonicalize](https://doc.rust-lang.org/std/fs/fn.canonicalize.html), the error doc is copied directly from that function. This makes it faster to find what errors might arise when calling `path.canonicalize` or `path_buf.canonicalize` in the editor itself without needing to drill down to the `fs::canonicalzie` docs.
2025-09-08Rollup merge of #146298 - cjgillot:gvn-derefer, r=nnethercoteMatthias Krüger-0/+5
GVN: Ensure indirect is first projection in try_as_place. I haven't found any report for this bug on existing code, but managed to trigger it with rust-lang/rust#143333
2025-09-08Rollup merge of #146111 - ChayimFriedman2:more-ns-specific-defid, r=lcnrMatthias Krüger-80/+154
Migrate more things in the new solver to specific `DefId`s Continuation of https://github.com/rust-lang/rust/pull/145377. I migrated the rest of the types, except aliases. Aliases are problematic because opaques and associated types share the same type in the new solver. `@jackh726,` `@lcnr,` `@ShoyuVanilla` I'd like to hear ideas here. Anyway, even if we do nothing with them we already got a substantial improvement. r? types
2025-09-08tidy extra checks: use Error::FailedCheck correctlybinarycat-3/+3
2025-09-08tidy extra checks that interact with --bless now all recommend using itbinarycat-6/+25
2025-09-08Merge pull request #2586 from ali90h/fix-microsoft-link-broken-urlnora-1/+1
Fix broken Microsoft URL missing slash
2025-09-08tidy: py:lint extra check now works with --blessbinarycat-2/+9
2025-09-08Auto merge of #146165 - folkertdev:c-variadic-errors-take-2, r=lcnrbors-94/+140
improve c-variadic error reporting tracking issue: https://github.com/rust-lang/rust/issues/44930 The parts of https://github.com/rust-lang/rust/pull/143546 that don't require any particular knowledge about c-variadic functions. This prepares the way for rejecting c-variadic functions that are also coroutines, safe functions, or associated functions.
2025-09-08all tidy extra checks now print what they do in present tensebinarycat-2/+8
2025-09-08mark `format_args_nl!` as `#[doc(hidden)]`cyrgani-2/+2
2025-09-08fix APITIT being treated as a normal generic parameter in suggestionsJeremy Smart-27/+74
2025-09-08Make `is_typeck_child` match exhaustiveDaria Sukhonina-1/+31
2025-09-08reviewlcnr-40/+57
2025-09-08optimize `CanonicalVarValues::instantiate`lcnr-56/+63
2025-09-08pass `sub_relations` into canonical querieslcnr-318/+342
2025-09-08inline `CanonicalTyVarKind`lcnr-83/+58
2025-09-08eagerly compute `sub_relations` againlcnr-111/+152
2025-09-08remove outdated opaque type testlcnr-49/+0
2025-09-08Merge pull request #4484 from RalfJung/math-shimsRalf Jung-532/+603
move math shims to their own files, and some refactoring in fixed_float_value
2025-09-08Skip typeck for items w/o their own typeck contextDaria Sukhonina-5/+10
More details on about this fix: https://rust-lang.zulipchat.com/#narrow/channel/187679-t-compiler.2Fparallel-rustc/topic/ICE.3A.20typecks.20AnonConst.20under.20parallel.20rustc.28.23141951.29/with/538200980 Co-authored-by: ywxt <ywxtcwh@gmail.com>
2025-09-08implement `va_arg` for arm in rustc itselfFolkert de Vries-0/+41
2025-09-08Add some error message testsAlice Ryhl-0/+382
2025-09-08const-eval: disable pointer fragment supportRalf Jung-9/+119
2025-09-08move math foreign_items into their own fileRalf Jung-232/+266
2025-09-08extract core operation name instead of listing all function name variantsRalf Jung-17/+26
2025-09-08move math intrinsics to their own fileRalf Jung-287/+315
2025-09-08fix typos in commentFang He-2/+2