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 4ced272 commit dc54752Copy full SHA for dc54752
src/librustc_resolve/lib.rs
@@ -67,6 +67,7 @@ use std::cell::{Cell, RefCell};
67
use std::cmp;
68
use std::collections::BTreeSet;
69
use std::fmt;
70
+use std::iter;
71
use std::mem::replace;
72
use std::rc::Rc;
73
@@ -1413,8 +1414,7 @@ impl<'a> hir::lowering::Resolver for Resolver<'a> {
1413
1414
}
1415
1416
fn resolve_str_path(&mut self, span: Span, crate_root: Option<&str>,
- components: &[&str], is_value: bool) -> hir::Path {
1417
- use std::iter;
+ components: &[&str], is_value: bool) -> hir::Path {
1418
let mut path = hir::Path {
1419
span,
1420
def: Def::Err,
0 commit comments