diff --git a/src/lints/function_missing.ron b/src/lints/function_missing.ron index 2a947209..51d2ce79 100644 --- a/src/lints/function_missing.ron +++ b/src/lints/function_missing.ron @@ -45,7 +45,7 @@ SemverQuery( "true": true, }, error_message: "A publicly-visible function cannot be imported by its prior path. A `pub use` may have been removed, or the function itself may have been renamed or removed entirely.", - per_result_error_template: Some("function {{join \"::\" path}}"), + per_result_error_template: Some("function {{join \"::\" path}}, previously in file {{span_filename}}:{{span_begin_line}}"), witness: ( hint_template: r#"{{join "::" path}}(...);"#, ),