rust/src/librustc_save_analysis
Without Boats 18ff7d091a Parse async fn header.
This is gated on edition 2018 & the `async_await` feature gate.

The parser will accept `async fn` and `async unsafe fn` as fn
items. Along the same lines as `const fn`, only `async unsafe fn`
is permitted, not `unsafe async fn`.The parser will not accept
`async` functions as trait methods.

To do a little code clean up, four fields of the function type
struct have been merged into the new `FnHeader` struct: constness,
asyncness, unsafety, and ABI.

Also, a small bug in HIR printing is fixed: it previously printed
`const unsafe fn` as `unsafe const fn`, which is grammatically
incorrect.
2018-06-21 22:29:47 -07:00
..
Cargo.toml save-analysis: handle aliasing imports a bit more nicely 2018-05-15 20:34:17 +12:00
dump_visitor.rs Make GenericBound explicit 2018-06-20 12:23:46 +01:00
json_dumper.rs Emit data::Impl in save-analysis 2018-02-10 03:04:44 +01:00
lib.rs Simply joint lifetime/type iteration 2018-06-20 12:21:52 +01:00
sig.rs Parse async fn header. 2018-06-21 22:29:47 -07:00
span_utils.rs AST/HIR: Merge field access expressions for named and numeric fields 2018-04-12 23:02:09 +03:00