rust/src/libsyntax
Esteban Küber 697fdc568e Suggest defining type parameter when appropriate
```
error[E0412]: cannot find type `T` in this scope
 --> file.rs:3:12
  |
3 | impl Trait<T> for Struct {}
  |     -      ^ not found in this scope
  |     |
  |     help: you might be missing a type parameter: `<T>`
```

Fix #64298.
2020-01-26 10:57:18 -08:00
..
ast libsyntax: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
attr remove rustc_error_codes deps except in rustc_driver 2020-01-18 21:53:53 +01:00
expand Rename syntax_pos to rustc_span in source code 2020-01-01 09:15:18 +03:00
print unused-parens: implement for block return values 2020-01-23 00:42:35 -05:00
util Rollup merge of #67849 - cjkenn:check-sorted-words, r=estebank 2020-01-09 00:29:12 +09:00
ast.rs Suggest defining type parameter when appropriate 2020-01-26 10:57:18 -08:00
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
Cargo.toml remove rustc_error_codes deps except in rustc_driver 2020-01-18 21:53:53 +01:00
entry.rs Normalize syntax::symbol imports. 2020-01-02 13:57:04 +01:00
lib.rs slice_patterns: remove internal uses of gate 2020-01-18 19:33:47 +01:00
mut_visit.rs Revert "Add a constness field to ast::TraitRef" 2020-01-20 00:00:08 -08:00
ptr.rs Format the world 2019-12-22 17:42:47 -05:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
token.rs Normalize syntax::symbol imports. 2020-01-02 13:57:04 +01:00
tokenstream.rs Rename syntax_pos to rustc_span in source code 2020-01-01 09:15:18 +03:00
visit.rs Add constness field to ast::ItemKind::Impl 2020-01-19 23:41:42 -08:00

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: