]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_monomorphize/src/errors.rs
Rollup merge of #104581 - notriddle:notriddle/js-iife-2, r=GuillaumeGomez
[rust.git] / compiler / rustc_monomorphize / src / errors.rs
index 870d50728bda44d7f48065ff3e02b246c858ea21..f1ca72de8dbe47d934cc8b8c197c5ed4b4d11ff7 100644 (file)
@@ -39,6 +39,7 @@ pub struct UnusedGenericParams {
 }
 
 impl IntoDiagnostic<'_> for UnusedGenericParams {
+    #[track_caller]
     fn into_diagnostic(
         self,
         handler: &'_ rustc_errors::Handler,