rust/src/librustc_ast
bors ce6d3a73b5 Auto merge of #72080 - matthewjasper:uniform-impl-trait, r=nikomatsakis
Clean up type alias impl trait implementation

- Removes special case for top-level impl trait
- Removes associated opaque types
- Forbid lifetime elision in let position impl trait. This is consistent with the behavior for inferred types.
- Handle lifetimes in type alias impl trait more uniformly with other parameters

cc #69323
cc #63063
Closes #57188
Closes #62988
Closes #69136
Closes #73061
2020-06-15 04:10:24 +00:00
..
ast
attr Remove ast::{Ident, Name} reexports. 2020-05-08 13:13:15 +02:00
expand rustc -> rustc_middle part 1 2020-03-30 07:02:56 +02:00
util Track span of function in method calls, and use this in #[track_caller] 2020-06-10 17:30:11 -04:00
ast.rs Auto merge of #72080 - matthewjasper:uniform-impl-trait, r=nikomatsakis 2020-06-15 04:10:24 +00:00
build.rs
Cargo.toml Make things build again 2020-06-02 20:38:24 +03:00
crate_disambiguator.rs move CrateDisambiguator -> rustc_ast 2020-03-21 22:18:57 +01:00
entry.rs rustc -> rustc_middle part 1 2020-03-30 07:02:56 +02:00
lib.rs Work around ICEs during cross-compilation 2020-05-08 09:38:18 -06:00
mut_visit.rs Rollup merge of #73182 - Aaron1011:feature/call-fn-span, r=matthewjasper 2020-06-11 19:04:16 +02:00
node_id.rs Rename from_u32_const -> from_u32 2020-03-17 11:15:40 -07:00
ptr.rs
README.md rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00
token.rs Revert "Move functions to librustc_parse" 2020-05-29 00:19:11 -04:00
tokenstream.rs Fix more clippy warnings 2020-06-09 18:51:08 +02:00
visit.rs Track span of function in method calls, and use this in #[track_caller] 2020-06-10 17:30:11 -04:00

The rustc_ast crate contains those things concerned purely with syntax that is, the AST ("abstract syntax tree"), parser, pretty-printer, lexer, macro expander, and utilities for traversing ASTs.

For more information about how these things work in rustc, see the rustc dev guide: