hygiene: Remove Option
s from functions returning ExpnInfo
The expansion info is not optional and should always exist
This commit is contained in:
parent
6cb28b6617
commit
73dee258c1
14 changed files with 98 additions and 155 deletions
|
@ -13,7 +13,6 @@ mod generics;
|
|||
use crate::ast::{self, AttrStyle, Attribute, Arg, BindingMode, StrStyle, SelfKind};
|
||||
use crate::ast::{FnDecl, Ident, IsAsync, MacDelimiter, Mutability, TyKind};
|
||||
use crate::ast::{Visibility, VisibilityKind, Unsafety, CrateSugar};
|
||||
use crate::ext::hygiene::SyntaxContext;
|
||||
use crate::source_map::{self, respan};
|
||||
use crate::parse::{SeqSep, literal, token};
|
||||
use crate::parse::lexer::UnmatchedBrace;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue