Skip to main content

Module macro_expr_fragment_specifier_2024_migration

Module macro_expr_fragment_specifier_2024_migration 

Source
Expand description

Migration code for the expr_fragment_specifier_2024 rule.

Re-exportsยง

use rustc_ast::token::Token; ๐Ÿ”’
use rustc_ast::token::TokenKind; ๐Ÿ”’
use rustc_ast::tokenstream::TokenStream; ๐Ÿ”’
use rustc_ast::tokenstream::TokenTree; ๐Ÿ”’
use rustc_lint_defs::declare_lint; ๐Ÿ”’
use rustc_lint_defs::declare_lint_pass; ๐Ÿ”’
use rustc_lint_defs::fcw; ๐Ÿ”’
use rustc_span::edition::Edition; ๐Ÿ”’
use rustc_span::sym; ๐Ÿ”’
use tracing::debug; ๐Ÿ”’
use crate::EarlyLintPass; ๐Ÿ”’
use crate::diagnostics::MacroExprFragment2024; ๐Ÿ”’

Structsยง

Expr2024

Staticsยง

EDITION_2024_EXPR_FRAGMENT_SPECIFIER
The edition_2024_expr_fragment_specifier lint detects the use of expr fragments in macros during migration to the 2024 edition.