rust/src/libsyntax
kennytm 35bf7f844c Rollup merge of #47481 - estebank:unused-args, r=arielb1
Point at unused arguments for format string

Avoid overlapping spans by only pointing at the arguments that are not
being used in the argument string. Enable libsyntax to have diagnostics
with multiple primary spans by accepting `Into<MultiSpan>` instead of
`Span`.

Partially addresses #41850.
2018-01-18 01:57:25 +08:00
..
diagnostics Add error code for unstable feature errors 2018-01-15 10:28:00 +01:00
ext Rollup merge of #47481 - estebank:unused-args, r=arielb1 2018-01-18 01:57:25 +08:00
parse Point at unused arguments for format string 2018-01-15 21:38:12 -08:00
print Remove impl Foo for .. in favor of auto trait Foo 2018-01-13 18:48:00 +03:00
util Add GenericParam, refactor Generics in ast, hir, rustdoc 2017-12-21 13:38:10 +01:00
abi.rs add thiscall calling convention support 2017-05-24 16:40:03 -04:00
ast.rs Remove impl Foo for .. in favor of auto trait Foo 2018-01-13 18:48:00 +03:00
attr.rs Rename ReprExtern to ReprC, and similarily rename a few other fields and locals that mentioned "extern repr" 2018-01-07 22:05:32 +01:00
build.rs rustc: Add some build scripts for librustc crates 2017-07-22 22:04:13 -07:00
Cargo.toml Try to fix a perf regression by updating log 2018-01-07 16:54:05 +01:00
codemap.rs Use correct line offsets for doctests (fixes #45868) 2018-01-10 10:10:34 +05:30
config.rs syntax: Rename P::unwrap into P::into_inner 2017-12-17 02:21:29 +03:00
diagnostic_list.rs Add error code for unstable feature errors 2018-01-15 10:28:00 +01:00
entry.rs Cleanup InternedString. 2016-11-21 09:00:56 +00:00
feature_gate.rs Reexport -> re-export in prose and documentation comments 2018-01-15 13:36:53 -05:00
fold.rs Remove impl Foo for .. in favor of auto trait Foo 2018-01-13 18:48:00 +03:00
json.rs Use PathBuf instead of String where applicable 2017-12-14 11:22:08 +01:00
lib.rs rustc: Don't use relative paths for extended errors 2018-01-04 07:21:22 -08:00
ptr.rs syntax: Rename P::unwrap into P::into_inner 2017-12-17 02:21:29 +03:00
README.md rework the README.md for rustc and add other readmes 2017-09-19 09:00:59 -04:00
show_span.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
std_inject.rs Improve pretty printing $crate:: paths. 2017-12-12 22:32:19 -08:00
str.rs syntax: Copy unstable str::char_at into libsyntax 2015-04-21 10:23:53 -07:00
test.rs Prefer to use attr::contains_name() and attr::find_by_name() 2017-12-28 12:32:24 +09:00
test_snippet.rs Use PathBuf instead of String where applicable 2017-12-14 11:22:08 +01:00
tokenstream.rs Glued tokens can themselves be joint. 2018-01-10 17:20:04 -08:00
visit.rs Remove impl Foo for .. in favor of auto trait Foo 2018-01-13 18:48:00 +03:00

NB: This crate is part of the Rust compiler. For an overview of the compiler as a whole, see the README.md file found in librustc.

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.