about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder/autodiff.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-03-02 22:44:28 +0100
committerGitHub <noreply@github.com>2025-03-02 22:44:28 +0100
commit59fe0c77bb87da1b42cbb6bcc81c2ca90a8e6493 (patch)
tree94ba8cce6010288de25c8a1d80b85e22b8e8a07c /compiler/rustc_codegen_llvm/src/builder/autodiff.rs
parent0ed4856bad33cfdcb0510f7d2676fcae1c637db1 (diff)
parenta3378f59388ced7f6011e508bb7dff5f90362e00 (diff)
downloadrust-59fe0c77bb87da1b42cbb6bcc81c2ca90a8e6493.tar.gz
rust-59fe0c77bb87da1b42cbb6bcc81c2ca90a8e6493.zip
Rollup merge of #137886 - NotLebedev:stable-mir-91, r=oli-obk
`name()` and `trimmed_name()` for `stable_mir::crate_def::DefId`

Resolves https://github.com/rust-lang/project-stable-mir/issues/91

* Added `stable_mir::crate_def::DefId::name()`  and  `stable_mir::crate_def::DefId::trimmed_name()`  methods
* Changed `CrateDef` and `DefId` `Debug` implementations to use new methods instead of copy-paste call to `Context::def_name`
* Updated docs to avoid duplicating description of what `name` and `trimmed_name` do
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder/autodiff.rs')
0 files changed, 0 insertions, 0 deletions