about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWesley Wiser <wesleywiser@microsoft.com>2023-08-25 19:49:10 -0400
committerWesley Wiser <wesleywiser@microsoft.com>2023-08-25 19:49:10 -0400
commitec4a85e889743295e0f58b554eb9c17d17e6c254 (patch)
tree76b73d5d5afa210c1d24f2fba227853b0ae96e44
parent17b7f1e1984be22f460a395030786d742d76398c (diff)
downloadrust-ec4a85e889743295e0f58b554eb9c17d17e6c254.tar.gz
rust-ec4a85e889743295e0f58b554eb9c17d17e6c254.zip
Revert "Use the same DISubprogram for each instance of the same inlined function within the caller"
This reverts commit 687bffa49375aa00bacc51f5d9adfb84a9453e17.

Reverting to resolve ICEs reported on nightly.
-rw-r--r--src/debuginfo.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debuginfo.rs b/src/debuginfo.rs
index d1bfd833cd8..a81585d4128 100644
--- a/src/debuginfo.rs
+++ b/src/debuginfo.rs
@@ -55,7 +55,7 @@ impl<'gcc, 'tcx> DebugInfoMethods<'tcx> for CodegenCx<'gcc, 'tcx> {
         _fn_abi: &FnAbi<'tcx, Ty<'tcx>>,
         _llfn: RValue<'gcc>,
         _mir: &mir::Body<'tcx>,
-    ) -> Option<FunctionDebugContext<'tcx, Self::DIScope, Self::DILocation>> {
+    ) -> Option<FunctionDebugContext<Self::DIScope, Self::DILocation>> {
         // TODO(antoyo)
         None
     }