Skip to content

Commit 3028734

Browse files
committed
[chore]: link false-positive issue
rust-lang/rust#44752 (comment) Signed-off-by: Dmitry Balashov <[email protected]>
1 parent e514198 commit 3028734

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config/base/src/toml.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ impl TomlSource {
109109
&self.path
110110
}
111111

112-
#[allow(single_use_lifetimes)] // FIXME: cannot compile without `'a`
112+
// FIXME: false-positive
113+
// https://github.com/rust-lang/rust/issues/44752#issuecomment-1712086069
114+
#[allow(single_use_lifetimes)]
113115
pub(crate) fn find_unknown<'a>(
114116
&self,
115117
known: impl Iterator<Item = &'a ParameterId>,

0 commit comments

Comments
 (0)