Extend QueryStability to handle IntoIterator implementations
Fix adjacent code Fix duplicate warning; merge test into `tests/ui-fulldeps/internal-lints` Use `rustc_middle::ty::FnSig::inputs` Address two review comments - https://github.com/rust-lang/rust/pull/139345#discussion_r2109006991 - https://github.com/rust-lang/rust/pull/139345#discussion_r2109058588 Use `Instance::try_resolve` Import `rustc_middle::ty::Ty` as `Ty` rather than `MiddleTy` Simplify predicate handling Add more `#[allow(rustc::potential_query_instability)]` following rebase Remove two `#[allow(rustc::potential_query_instability)]` following rebase Address review comment Update compiler/rustc_lint/src/internal.rs Co-authored-by: lcnr <rust@lcnr.de>
This commit is contained in:
committed by
Samuel Moelius
parent
3672a55b7c
commit
c3c2c23e0d
@@ -180,6 +180,7 @@ fn parse_rust_feature_flag<'a>(
|
||||
while let Some(new_feature) = new_features.pop() {
|
||||
if features.insert(new_feature) {
|
||||
if let Some(implied_features) = inverse_implied_features.get(&new_feature) {
|
||||
#[allow(rustc::potential_query_instability)]
|
||||
new_features.extend(implied_features)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user