resolve: Avoid some unstable iteration 2
This commit is contained in:
parent
4510e86a41
commit
ba4190cf7e
8 changed files with 9 additions and 14 deletions
|
@ -946,7 +946,6 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {
|
|||
|
||||
// Check if one of single imports can still define the name,
|
||||
// if it can then our result is not determined and can be invalidated.
|
||||
#[allow(rustc::potential_query_instability)] // FIXME
|
||||
for single_import in &resolution.single_imports {
|
||||
if ignore_import == Some(*single_import) {
|
||||
// This branch handles a cycle in single imports.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue