]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_ast/src/attr/mod.rs
New upstream version 1.57.0+dfsg1
[rustc.git] / compiler / rustc_ast / src / attr / mod.rs
index 81195f7fb5cb2995ee4513aeac4cf0797158bcc1..5f17008bdc2b0747e118971443f2ca616f59d64c 100644 (file)
@@ -367,7 +367,7 @@ impl MetaItem {
             let is_first = i == 0;
             if !is_first {
                 let mod_sep_span =
-                    Span::new(last_pos, segment.ident.span.lo(), segment.ident.span.ctxt());
+                    Span::new(last_pos, segment.ident.span.lo(), segment.ident.span.ctxt(), None);
                 idents.push(TokenTree::token(token::ModSep, mod_sep_span).into());
             }
             idents.push(TokenTree::Token(Token::from_ast_ident(segment.ident)).into());