Michael Goulet
909dd864f1
Make closures carry their own ClosureKind, rather than deducing what it is from movability
2023-12-25 16:29:15 +00:00
León Orell Valerian Liehr
5e4f12b41a
Refactor AST trait bound modifiers
2023-12-20 19:39:46 +01:00
Deadbeef
16040a1628
Add Span
to TraitBoundModifier
2023-11-24 14:32:05 +00:00
Matthias Krüger
efee13ab33
Rollup merge of #116067 - saethlin:meta-stats-ice, r=WaffleLapkin
...
Open the FileEncoder file for reading and writing
Maybe I just don't know `File` well enough, but the previous comment didn't make it clear enough to me that we can't use `File::create`. This one does.
Fixes https://github.com/rust-lang/rust/issues/116055
r? `@WaffleLapkin`
2023-09-22 23:12:38 +02:00
Ben Kimock
09960e0319
Open the FileEncoder file for reading and writing
2023-09-22 16:13:25 -04:00
Michael Goulet
087a571e70
Record asyncness span in HIR
2023-09-21 19:18:14 +00:00
Oli Scherer
373807a95c
Rename ast::Static
to ast::StaticItem
to match ast::ConstItem
2023-04-04 15:34:40 +00:00
Nicholas Nethercote
7e855d5f31
Use ThinVec
in a few more AST types.
2023-02-21 11:51:56 +11:00
Nicholas Nethercote
912b825002
Use ThinVec
in ast::PatKind::Struct
.
2023-02-21 11:51:56 +11:00
Nicholas Nethercote
b14b7ba5dd
Use ThinVec
in ast::Block
.
2023-02-21 11:51:56 +11:00
Nicholas Nethercote
4143b101f9
Use ThinVec
in various AST types.
...
This commit changes the sequence parsers to produce `ThinVec`, which
triggers numerous conversions.
2023-02-21 11:51:56 +11:00
Nicholas Nethercote
068db466e8
Use ThinVec
in ast::WhereClause
.
2023-02-21 11:51:55 +11:00
Nicholas Nethercote
dd7aff5cc5
Use ThinVec
in ast::Generics
and related types.
2023-02-21 11:51:55 +11:00
Nicholas Nethercote
e30cd18fcc
Reinstate the hir-stats.rs
tests on stage 1.
2023-02-02 10:24:30 +11:00
Albert Larsan
cf2dff2b1e
Move /src/test to /tests
2023-01-11 09:32:08 +00:00