only use rustc attr on nightly
This commit is contained in:
parent
f167efad2f
commit
300da9a910
@ -287,7 +287,7 @@ impl<X: Cx> NestedGoals<X> {
|
||||
}
|
||||
}
|
||||
|
||||
#[rustc_lint_query_instability]
|
||||
#[cfg_attr(feature = "nightly", rustc_lint_query_instability)]
|
||||
#[allow(rustc::potential_query_instability)]
|
||||
fn iter(&self) -> impl Iterator<Item = (X::Input, UsageKind)> + '_ {
|
||||
self.nested_goals.iter().map(|(i, p)| (*i, *p))
|
||||
|
Loading…
x
Reference in New Issue
Block a user