Skip to content

Commit

Permalink
Unrolled build for rust-lang#128630
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#128630 - bvanjoi:resolve-comment, r=petrochenkov

docs(resolve): more explain about `target`

r? ```````@petrochenkov```````
  • Loading branch information
rust-timer authored Aug 5, 2024
2 parents 29e9248 + 249afea commit b453734
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_resolve/src/imports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ pub(crate) enum ImportKind<'a> {
/// `source` in `use prefix::source as target`.
source: Ident,
/// `target` in `use prefix::source as target`.
/// It will directly use `source` when the format is `use prefix::source`.
target: Ident,
/// Bindings to which `source` refers to.
source_bindings: PerNS<Cell<Result<NameBinding<'a>, Determinacy>>>,
Expand Down

0 comments on commit b453734

Please sign in to comment.