rust/compiler/rustc_ast/src
bors a594044533 Auto merge of #101362 - compiler-errors:unnecessary-let, r=cjgillot
Suggest removing unnecessary prefix let in patterns

Helps with #101291, though I think `@estebank` probably wants this:

> Finally, I think it'd be nice if we could detect that we don't know for sure and "just" swallow the rest of the expression (find the next ; accounting for nested braces) or the end of the item (easier).

... to be implemented before we close that issue out completely.
2022-09-06 08:49:54 +00:00
..
attr Use AttrVec in more places. 2022-08-22 07:35:33 +10:00
expand Make allocator_kind a query. 2021-06-20 11:52:51 +02:00
util Always import all tracing macros for the entire crate instead of piecemeal by module 2022-09-01 14:54:27 +00:00
ast.rs Auto merge of #101241 - camsteffen:refactor-binding-annotations, r=cjgillot 2022-09-06 03:16:29 +00:00
ast_traits.rs Inline attrs. 2022-08-29 20:25:48 +10:00
entry.rs Fixup missing renames from #[main] to #[rustc_main] 2022-06-22 18:24:09 +02:00
lib.rs Always import all tracing macros for the entire crate instead of piecemeal by module 2022-09-01 14:54:27 +00:00
mut_visit.rs Use AttrVec in more places. 2022-08-22 07:35:33 +10:00
node_id.rs Use LocalExpnId where possible. 2021-07-17 19:41:02 +02:00
ptr.rs Use delayed error handling for Encodable and Encoder infallible. 2022-06-08 07:01:26 +10:00
token.rs Suggest removing unnecessary prefix let in patterns 2022-09-03 05:39:46 +00:00
tokenstream.rs Auto merge of #100869 - nnethercote:replace-ThinVec, r=spastorino 2022-09-01 08:01:06 +00:00
visit.rs Shrink ast::Attribute. 2022-08-16 11:10:13 +10:00