We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9229bff commit 66ca36dCopy full SHA for 66ca36d
cargo/private/cargo_toml_info/main.rs
@@ -107,7 +107,7 @@ fn lint_priority(lint: &cargo_toml::Lint) -> i32 {
107
fn format_lint_set<'a>(
108
lints: Option<&'a BTreeMap<String, BTreeMap<String, Lint>>>,
109
group: &'a LintGroup,
110
-) -> Option<impl Iterator<Item = String> + use<'a>> {
+) -> Option<impl Iterator<Item = String> + 'a> {
111
let lints = lints?.get(group.key())?;
112
let mut lints = Vec::from_iter(lints);
113
lints.sort_by(|(_, a), (_, b)| {
0 commit comments