rust/src/libsyntax
Pietro Albini bd0fe736be
Rollup merge of #51958 - euclio:attr-refactor, r=petrochenkov
Show known meta items in unknown meta items error

This PR adds a label to E0541. It also factors built-in attribute parsing into a submodule of `attr` for ease of future refactoring.

Fixes #51469.
2018-07-03 11:31:01 +02:00
..
attr add label to unknown meta item error 2018-06-30 21:38:18 -04:00
diagnostics Add `Ident::as_str` helper 2018-05-26 15:20:23 +03:00
ext Fortify dummy span checking 2018-06-30 01:53:32 +03:00
parse choose a less arbitrary span when parsing the empty visibility modifier 2018-06-30 22:20:28 -07:00
print Generate the `NodeId` for `existential type` in the AST 2018-06-27 11:17:25 +02:00
util async await desugaring and tests 2018-06-21 22:36:36 -07:00
Cargo.toml rustc_target: move in syntax::abi and flip dependency. 2018-04-26 17:49:16 +03:00
README.md Replace many of the last references to readmes 2018-03-16 12:43:22 -05:00
ast.rs Auto merge of #51883 - estebank:placement-suggestion, r=varkor 2018-07-01 13:37:05 +00:00
build.rs rustc: Add some build scripts for librustc crates 2017-07-22 22:04:13 -07:00
codemap.rs Fortify dummy span checking 2018-06-30 01:53:32 +03:00
config.rs Deny #[cfg] and #[cfg_attr] on generic parameters. 2018-06-02 05:11:33 +08:00
diagnostic_list.rs Update error code numbers 2018-06-19 17:33:14 -07:00
entry.rs Cleanup `InternedString`. 2016-11-21 09:00:56 +00:00
feature_gate.rs Auto merge of #51806 - oli-obk:lowering_cleanups1, r=cramertj 2018-06-30 07:10:18 +00:00
fold.rs Generate `DefId`s for the impl trait of `async` functions 2018-06-27 11:17:55 +02:00
json.rs Stabilize suggestion applicability field in json output 2018-05-21 10:48:12 -07:00
lib.rs expansion: Improve searchability for `AstFragments` methods 2018-06-23 20:09:21 +03:00
ptr.rs Remove unused map_slice 2018-06-22 12:12:53 -07:00
show_span.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
std_inject.rs Implement `#[macro_export(local_inner_macros)]` 2018-06-27 13:10:16 +03:00
str.rs Inline `char_at()` and `record_width`. 2018-05-13 17:16:02 +10:00
test.rs Implement `#[macro_export(local_inner_macros)]` 2018-06-27 13:10:16 +03:00
test_snippet.rs Remove the now redundant CodeMap::new_filemap_with_lines() method. 2018-06-27 14:00:34 +02:00
tokenstream.rs Fortify dummy span checking 2018-06-30 01:53:32 +03:00
visit.rs Generate the `NodeId` for `existential type` in the AST 2018-06-27 11:17:25 +02:00

README.md

The syntax 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 guide: