From 5d57e097614677142304bc817bccafb3b94d0d90 Mon Sep 17 00:00:00 2001 From: Dmitry Balashov <43530070+0x009922@users.noreply.github.com> Date: Mon, 22 Apr 2024 09:30:02 +0900 Subject: [PATCH] [chore]: link false-positive issue https://github.com/rust-lang/rust/issues/44752#issuecomment-1712086069 Signed-off-by: Dmitry Balashov <43530070+0x009922@users.noreply.github.com> --- config/base/src/toml.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/base/src/toml.rs b/config/base/src/toml.rs index 45253317a6d..09e5dbb06dc 100644 --- a/config/base/src/toml.rs +++ b/config/base/src/toml.rs @@ -109,7 +109,9 @@ impl TomlSource { &self.path } - #[allow(single_use_lifetimes)] // FIXME: cannot compile without `'a` + // FIXME: false-positive + // https://github.com/rust-lang/rust/issues/44752#issuecomment-1712086069 + #[allow(single_use_lifetimes)] pub(crate) fn find_unknown<'a>( &self, known: impl Iterator,