rust/src
Matthias Krüger b7853ef3cf
Rollup merge of #137769 - compiler-errors:empty-unsafe-fmt, r=ytmimi
Do not yeet `unsafe<>` from type when formatting unsafe binder

Unsafe binders are types like `unsafe<'a, 'b> Ty<'a, 'b>`. However, users can also specify unsafe binder types with no bound vars, like `unsafe<> Ty`.

When I added nightly formatting for unsafe binders, I didn't consider this, so on nightly we are stripping the `unsafe<>` part, which gives us back `Ty` which is a different type!

This PR fixes that.

r? ``@ytmimi``
2025-03-01 11:34:00 +01:00
..
bootstrap Auto merge of #137796 - jieyouxu:rollup-qt9yr1g, r=jieyouxu 2025-03-01 00:53:19 +00:00
build_helper revert accidental change in get_closest_merge_commit 2025-02-26 13:35:51 +01:00
ci Revert "Fix 32-bit MSVC CI" 2025-02-28 00:47:45 +00:00
doc Rollup merge of #137719 - GuillaumeGomez:missing-doc, r=notriddle 2025-03-01 11:33:59 +01:00
etc Rollup merge of #135354 - Walnut356:msvc_lldb, r=wesleywiser 2025-02-23 02:44:16 -05:00
gcc@48664a6cab Update gcc submodule 2025-02-26 09:23:52 +01:00
librustdoc Rollup merge of #137609 - ColinPitrat:master, r=GuillaumeGomez 2025-02-26 04:15:07 +01:00
llvm-project@92e80685d0 Update to LLVM 20 2025-02-14 11:02:28 +01:00
rustc-std-workspace update rustc-std-workspace crates 2024-11-04 07:45:15 +01:00
rustdoc-json-types Fix rustdoc and clippy 2025-02-24 14:31:19 +01:00
tools Rollup merge of #137769 - compiler-errors:empty-unsafe-fmt, r=ytmimi 2025-03-01 11:34:00 +01:00
README.md
stage0 bump stage0 2025-02-18 08:51:01 -08:00
version Bump to version 1.87.0 2025-02-14 09:55:45 -08:00

This directory contains some source code for the Rust project, including:

  • The bootstrapping build system
  • Various submodules for tools, like cargo, tidy, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.