diff options
| author | Michael Goulet <michael@errs.io> | 2024-03-21 17:11:06 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-03-22 11:13:29 -0400 |
| commit | ff0c31e6b9bc8e847c3b1b9d61793325edfacf47 (patch) | |
| tree | 366bdcf6c869a19f56b8b3c2d42bf8ac6a5cf3a1 /compiler/rustc_codegen_ssa/src/debuginfo | |
| parent | f0f224a37f117104358f4d807d71037256f5a646 (diff) | |
| download | rust-ff0c31e6b9bc8e847c3b1b9d61793325edfacf47.tar.gz rust-ff0c31e6b9bc8e847c3b1b9d61793325edfacf47.zip | |
Programmatically convert some of the pat ctors
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/debuginfo')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs b/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs index fcd7fa9247b..64448441acb 100644 --- a/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs +++ b/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs @@ -138,7 +138,7 @@ fn push_debuginfo_type_name<'tcx>( output.push(')'); } } - ty::RawPtr(ty::TypeAndMut { ty: inner_type, mutbl }) => { + ty::RawPtr(inner_type, mutbl) => { if cpp_like_debuginfo { match mutbl { Mutability::Not => output.push_str("ptr_const$<"), |
