We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
target
1 parent b389b0a commit 249afeaCopy full SHA for 249afea
compiler/rustc_resolve/src/imports.rs
@@ -48,6 +48,7 @@ pub(crate) enum ImportKind<'a> {
48
/// `source` in `use prefix::source as target`.
49
source: Ident,
50
/// `target` in `use prefix::source as target`.
51
+ /// It will directly use `source` when the format is `use prefix::source`.
52
target: Ident,
53
/// Bindings to which `source` refers to.
54
source_bindings: PerNS<Cell<Result<NameBinding<'a>, Determinacy>>>,
0 commit comments