Skip to content

Commit

Permalink
[chore]: link false-positive issue
Browse files Browse the repository at this point in the history
rust-lang/rust#44752 (comment)
Signed-off-by: Dmitry Balashov <[email protected]>
  • Loading branch information
0x009922 committed May 15, 2024
1 parent 894e8c9 commit 5d57e09
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/base/src/toml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Item = &'a ParameterId>,
Expand Down

0 comments on commit 5d57e09

Please sign in to comment.