From 8da76645eda2f72d9574647f03f234619968f997 Mon Sep 17 00:00:00 2001 From: Jason Ozias Date: Sun, 15 Sep 2024 10:53:47 -0400 Subject: [PATCH 1/2] Fixed missing doc lint issue --- vergen-git2/src/git2/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/vergen-git2/src/git2/mod.rs b/vergen-git2/src/git2/mod.rs index b5a2a634..3ca580ae 100644 --- a/vergen-git2/src/git2/mod.rs +++ b/vergen-git2/src/git2/mod.rs @@ -191,6 +191,7 @@ pub struct Git2 { #[builder(default = "false")] use_local: bool, #[cfg(test)] + /// Fail #[builder(default = "false")] fail: bool, } From 1849acbd94184070236722a1c15fa8707042fbe8 Mon Sep 17 00:00:00 2001 From: Jason Ozias Date: Sun, 15 Sep 2024 11:05:34 -0400 Subject: [PATCH 2/2] Removed lint that was converted to an error --- test_util/src/lib.rs | 1 - vergen-git2/src/lib.rs | 1 - vergen-gitcl/src/lib.rs | 1 - vergen-gix/src/lib.rs | 1 - vergen-lib/src/lib.rs | 1 - vergen-pretty/src/lib.rs | 1 - vergen/src/lib.rs | 1 - 7 files changed, 7 deletions(-) diff --git a/test_util/src/lib.rs b/test_util/src/lib.rs index 61ea9215..c92a92cf 100644 --- a/test_util/src/lib.rs +++ b/test_util/src/lib.rs @@ -96,7 +96,6 @@ the [`TestRepos`] struct to creat temporary git repositories useful for `vergen- clashing_extern_declarations, coherence_leak_check, confusable_idents, - const_eval_mutable_ptr_in_final_value, const_evaluatable_unchecked, const_item_mutation, dead_code, diff --git a/vergen-git2/src/lib.rs b/vergen-git2/src/lib.rs index 2bdd481c..98aefd1b 100644 --- a/vergen-git2/src/lib.rs +++ b/vergen-git2/src/lib.rs @@ -276,7 +276,6 @@ let build = BuildBuilder::default().build_timestamp(true).build()?;"## clashing_extern_declarations, coherence_leak_check, confusable_idents, - const_eval_mutable_ptr_in_final_value, const_evaluatable_unchecked, const_item_mutation, dead_code, diff --git a/vergen-gitcl/src/lib.rs b/vergen-gitcl/src/lib.rs index 40d50ba0..3a8e8075 100644 --- a/vergen-gitcl/src/lib.rs +++ b/vergen-gitcl/src/lib.rs @@ -276,7 +276,6 @@ let build = BuildBuilder::default().build_timestamp(true).build()?;"## clashing_extern_declarations, coherence_leak_check, confusable_idents, - const_eval_mutable_ptr_in_final_value, const_evaluatable_unchecked, const_item_mutation, dead_code, diff --git a/vergen-gix/src/lib.rs b/vergen-gix/src/lib.rs index 68e6de9d..d2febce5 100644 --- a/vergen-gix/src/lib.rs +++ b/vergen-gix/src/lib.rs @@ -276,7 +276,6 @@ let build = BuildBuilder::default().build_timestamp(true).build()?;"## clashing_extern_declarations, coherence_leak_check, confusable_idents, - const_eval_mutable_ptr_in_final_value, const_evaluatable_unchecked, const_item_mutation, dead_code, diff --git a/vergen-lib/src/lib.rs b/vergen-lib/src/lib.rs index 54c7b1c3..25609669 100644 --- a/vergen-lib/src/lib.rs +++ b/vergen-lib/src/lib.rs @@ -38,7 +38,6 @@ clashing_extern_declarations, coherence_leak_check, confusable_idents, - const_eval_mutable_ptr_in_final_value, const_evaluatable_unchecked, const_item_mutation, dead_code, diff --git a/vergen-pretty/src/lib.rs b/vergen-pretty/src/lib.rs index 9fc979b7..22e5c424 100644 --- a/vergen-pretty/src/lib.rs +++ b/vergen-pretty/src/lib.rs @@ -128,7 +128,6 @@ assert!(!buf.is_empty()); clashing_extern_declarations, coherence_leak_check, confusable_idents, - const_eval_mutable_ptr_in_final_value, const_evaluatable_unchecked, const_item_mutation, dead_code, diff --git a/vergen/src/lib.rs b/vergen/src/lib.rs index aa778562..a552dd37 100644 --- a/vergen/src/lib.rs +++ b/vergen/src/lib.rs @@ -322,7 +322,6 @@ let build = BuildBuilder::default().build_timestamp(true).build()?;"## clashing_extern_declarations, coherence_leak_check, confusable_idents, - const_eval_mutable_ptr_in_final_value, const_evaluatable_unchecked, const_item_mutation, dead_code,