diff options
| author | bors <bors@rust-lang.org> | 2022-12-03 12:32:28 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-12-03 12:32:28 +0000 |
| commit | 840f227b008aac696e869e1cf9e8e9f562496bc4 (patch) | |
| tree | e2486fa6b75b9b473c4d0619e2ebe67f2fad180f /compiler/rustc_codegen_ssa/src/debuginfo | |
| parent | 7d75cc48fed440a45c623609914554a816ceacd8 (diff) | |
| parent | 29814f2e2ace29268f76b109022ea4fe26de6535 (diff) | |
| download | rust-840f227b008aac696e869e1cf9e8e9f562496bc4.tar.gz rust-840f227b008aac696e869e1cf9e8e9f562496bc4.zip | |
Auto merge of #2712 - RalfJung:rustup, r=RalfJung
Rustup
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/debuginfo')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs b/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs index 8647fbace2a..b004fbf85a9 100644 --- a/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs +++ b/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs @@ -1,4 +1,4 @@ -// Type Names for Debug Info. +//! Type Names for Debug Info. // Notes on targeting MSVC: // In general, MSVC's debugger attempts to parse all arguments as C++ expressions, @@ -26,10 +26,10 @@ use std::fmt::Write; use crate::debuginfo::wants_c_like_enum_debuginfo; -// Compute the name of the type as it should be stored in debuginfo. Does not do -// any caching, i.e., calling the function twice with the same type will also do -// the work twice. The `qualified` parameter only affects the first level of the -// type name, further levels (i.e., type parameters) are always fully qualified. +/// Compute the name of the type as it should be stored in debuginfo. Does not do +/// any caching, i.e., calling the function twice with the same type will also do +/// the work twice. The `qualified` parameter only affects the first level of the +/// type name, further levels (i.e., type parameters) are always fully qualified. pub fn compute_debuginfo_type_name<'tcx>( tcx: TyCtxt<'tcx>, t: Ty<'tcx>, |
