Re-exportsΒ§
use core::mem;πuse core::ops::Bound;πuse core::ops::ControlFlow;πuse ast::mut_visit;πuse ast::mut_visit::MutVisitor;πuse ast::token::IdentKind;πuse ast::ForLoopKind;πuse ast::MatchKind;πuse ast::Pat;πuse ast::Path;πuse ast::PathSegment;πuse ast::Recovered;πuse rustc_ast::token;πuse rustc_ast::token::Delimiter;πuse rustc_ast::token::InvisibleOrigin;πuse rustc_ast::token::MetaVarKind;πuse rustc_ast::token::Token;πuse rustc_ast::token::TokenKind;πuse rustc_ast::util::case::Case;πuse rustc_ast::util::classify;πuse rustc_ast::util::parser::AssocOp;πuse rustc_ast::util::parser::ExprPrecedence;πuse rustc_ast::util::parser::Fixity;πuse rustc_ast::util::parser::prec_let_scrutinee_needs_par;πuse rustc_ast::visit::Visitor;πuse rustc_ast::visit::walk_expr;πuse rustc_ast as ast;πuse rustc_ast::AnonConst;πuse rustc_ast::Arm;πuse rustc_ast::AssignOp;πuse rustc_ast::AssignOpKind;πuse rustc_ast::AttrStyle;πuse rustc_ast::AttrVec;πuse rustc_ast::BinOp;πuse rustc_ast::BinOpKind;πuse rustc_ast::BlockCheckMode;πuse rustc_ast::CaptureBy;πuse rustc_ast::ClosureBinder;πuse rustc_ast::CoroutineKind;πuse rustc_ast::DUMMY_NODE_ID;πuse rustc_ast::Expr;πuse rustc_ast::ExprField;πuse rustc_ast::ExprKind;πuse rustc_ast::FnDecl;πuse rustc_ast::FnRetTy;πuse rustc_ast::ForLoop;πuse rustc_ast::Guard;πuse rustc_ast::Label;πuse rustc_ast::MacCall;πuse rustc_ast::MetaItemLit;πuse rustc_ast::Movability;πuse rustc_ast::Param;πuse rustc_ast::RangeLimits;πuse rustc_ast::StmtKind;πuse rustc_ast::Ty;πuse rustc_ast::TyKind;πuse rustc_ast::UnOp;πuse rustc_ast::UnsafeBinderCastKind;πuse rustc_ast::YieldKind;πuse rustc_ast_pretty::pprust;πuse rustc_errors::Applicability;πuse rustc_errors::Diag;πuse rustc_errors::PResult;πuse rustc_errors::StashKey;πuse rustc_errors::Subdiagnostic;πuse rustc_lint_defs::builtin::BREAK_WITH_LABEL_AND_LOOP;πuse rustc_literal_escaper::unescape_char;πuse rustc_session::diagnostics::report_lit_error;πuse rustc_span::edition::Edition;πuse rustc_span::BytePos;πuse rustc_span::ErrorGuaranteed;πuse rustc_span::Ident;πuse rustc_span::Pos;πuse rustc_span::Span;πuse rustc_span::Spanned;πuse rustc_span::Symbol;πuse rustc_span::kw;πuse rustc_span::respan;πuse rustc_span::sym;πuse thin_vec::ThinVec;πuse thin_vec::thin_vec;πuse tracing::instrument;πuse tracing::instrument;πuse super::diagnostics::SnapshotParser;πuse super::pat::CommaRecoveryMode;πuse super::pat::Expected;πuse super::pat::RecoverColon;πuse super::pat::RecoverComma;πuse super::ty::AllowPlus;πuse super::ty::RecoverQPath;πuse super::ty::RecoverReturnSign;πuse super::AttrWrapper;πuse super::BlockMode;πuse super::ClosureSpans;πuse super::ExpTokenPair;πuse super::ForceCollect;πuse super::Parser;πuse super::PathStyle;πuse super::Restrictions;πuse super::SemiColonMode;πuse super::SeqSep;πuse super::TokenType;πuse super::Trailing;πuse super::UsePreAttrPos;πuse crate::exp;πuse crate::maybe_recover_from_interpolated_ty_qpath;π
ModulesΒ§
- diagnostics π
StructsΒ§
- Cond
Checker π - Visitor to check for invalid use of
ExprKind::Letthat canβt easily be caught in parsing. For example:
EnumsΒ§
- Destructured
Float π - LetChains
Policy - Whether let chains are allowed on all editions, or itβs edition dependent (allowed only on 2024 and later). In case of edition dependence, specify the currently present edition.
FunctionsΒ§
- could_
be_ πunclosed_ char_ literal - Could this lifetime/label be an unclosed char literal? For example,
'acould be, but'abccould not.