Merge pull request #20424 from rust-lang/rustc-pull

Rustc pull update
This commit is contained in:
Laurențiu Nicola 2025-08-11 06:58:04 +00:00 committed by GitHub
commit 16ef2a44f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 19 deletions

View File

@ -10699,20 +10699,6 @@ The tracking issue for this feature is: [#77998]
[#77998]: https://github.com/rust-lang/rust/issues/77998 [#77998]: https://github.com/rust-lang/rust/issues/77998
------------------------
"##,
default_severity: Severity::Allow,
warn_since: None,
deny_since: None,
},
Lint {
label: "strict_overflow_ops",
description: r##"# `strict_overflow_ops`
The tracking issue for this feature is: [#118260]
[#118260]: https://github.com/rust-lang/rust/issues/118260
------------------------ ------------------------
"##, "##,
default_severity: Severity::Allow, default_severity: Severity::Allow,

View File

@ -127,11 +127,11 @@ where
// The following items are what `rustc` macro can be parsed into : // The following items are what `rustc` macro can be parsed into :
// link: https://github.com/rust-lang/rust/blob/9ebf47851a357faa4cd97f4b1dc7835f6376e639/src/libsyntax/ext/expand.rs#L141 // link: https://github.com/rust-lang/rust/blob/9ebf47851a357faa4cd97f4b1dc7835f6376e639/src/libsyntax/ext/expand.rs#L141
// * Expr(P<ast::Expr>) -> token_tree_to_expr // * Expr(Box<ast::Expr>) -> token_tree_to_expr
// * Pat(P<ast::Pat>) -> token_tree_to_pat // * Pat(Box<ast::Pat>) -> token_tree_to_pat
// * Ty(P<ast::Ty>) -> token_tree_to_ty // * Ty(Box<ast::Ty>) -> token_tree_to_ty
// * Stmts(SmallVec<[ast::Stmt; 1]>) -> token_tree_to_stmts // * Stmts(SmallVec<[ast::Stmt; 1]>) -> token_tree_to_stmts
// * Items(SmallVec<[P<ast::Item>; 1]>) -> token_tree_to_items // * Items(SmallVec<[Box<ast::Item>; 1]>) -> token_tree_to_items
// //
// * TraitItems(SmallVec<[ast::TraitItem; 1]>) // * TraitItems(SmallVec<[ast::TraitItem; 1]>)
// * AssocItems(SmallVec<[ast::AssocItem; 1]>) // * AssocItems(SmallVec<[ast::AssocItem; 1]>)

View File

@ -1 +1 @@
733dab558992d902d6d17576de1da768094e2cf3 21a19c297d4f5a03501d92ca251bd7a17073c08a