commit | 4f4782541ae8afa2ae70a29c6b6d6a041c99315f | [log] [tgz] |
---|---|---|
author | bors <bors@rust-lang.org> | Sun Aug 17 10:24:20 2025 +0000 |
committer | bors <bors@rust-lang.org> | Sun Aug 17 10:24:20 2025 +0000 |
tree | b3682a185c41624677ba02026f6677cf2a1bbcf0 | |
parent | 653823fe993539bd37fc9711a5745bbb9ca70ab1 [diff] | |
parent | 1cb3405eec0973260aab7390e1f34defb01aed03 [diff] |
Auto merge of #145284 - nnethercote:type_name-print-regions, r=lcnr Print regions in `type_name`. Currently they are skipped, which is a bit weird, and it sometimes causes malformed output like `Foo<>` and `dyn Bar<, A = u32>`. Most regions are erased by the time `type_name` does its work. So all regions are now printed as `'_` in non-optional places. Not perfect, but better than the status quo. `c_name` is updated to trim lifetimes from MIR pass names, so that the `PASS_NAMES` sanity check still works. It is also renamed as `simplify_pass_type_name` and made non-const, because it doesn't need to be const and the non-const implementation is much shorter. The commit also renames `should_print_region` as `should_print_optional_region`, which makes it clearer that it only applies to some regions. Fixes rust-lang/rust#145168. r? `@lcnr`
This repository contains the core_arch
crate, which implements core::arch
- Rust's core library architecture-specific intrinsics.
The std::simd
component now lives in the packed_simd_2
crate.
This repository is linked to rust-lang/rust
as a josh subtree. You can use the rustc-josh-sync tool to perform synchronization.
You can find a guide on how to perform the synchronization here.