]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_symbol_mangling/src/test.rs
New upstream version 1.71.1+dfsg1
[rustc.git] / compiler / rustc_symbol_mangling / src / test.rs
index b4d5b7f3621c8556011f0fe0d7f9c472c4e1fce2..985b2210745f46b1d6aa698c533253dcd5dc446f 100644 (file)
@@ -83,7 +83,7 @@ impl SymbolNamesTest<'_> {
             tcx.sess.emit_err(TestOutput {
                 span: attr.span,
                 kind: Kind::DefPath,
-                content: with_no_trimmed_paths!(tcx.def_path_str(def_id.to_def_id())),
+                content: with_no_trimmed_paths!(tcx.def_path_str(def_id)),
             });
         }
     }