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 6579ed8 commit 3ce9b2fCopy full SHA for 3ce9b2f
compiler/rustc_ast/src/ast.rs
@@ -2733,6 +2733,13 @@ pub enum UseTreeKind {
2733
/// `use prefix` or `use prefix as rename`
2734
Simple(Option<Ident>),
2735
/// `use prefix::{...}`
2736
+ ///
2737
+ /// The span represents the braces of the nested group and all elements within:
2738
2739
+ /// ```text
2740
+ /// use foo::{bar, baz};
2741
+ /// ^^^^^^^^^^
2742
+ /// ```
2743
Nested { items: ThinVec<(UseTree, NodeId)>, span: Span },
2744
/// `use prefix::*`
2745
Glob,
0 commit comments