]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs
Rollup merge of #105243 - RalfJung:no-op-let, r=Mark-Simulacrum
[rust.git] / compiler / rustc_codegen_ssa / src / debuginfo / type_names.rs
index 8647fbace2a75458988d8589c1c1c498c39f7d5d..b004fbf85a97f8bcbefa345dd17da85503dd777b 100644 (file)
@@ -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,
 
 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>,