Files
rust/src/libsyntax
Aleksey Kladov ccb2dfbfec don't ICE on large files
This is an extremely marginal error, so the cost of properly threading
`Handler` everywhere just not seemed justified. However, it's useful
to panic when we create a file, and not when we slice strings with
overflown indexes somewhere in the guts of the compiler.

For this reason, while we provide safe `try_new_source_file`, we don't
change the existing public interface and just panic more or less
cleanly.
2019-06-17 19:34:47 +03:00
..
2019-06-14 12:24:38 -05:00
2019-06-14 12:24:38 -05:00
2018-12-25 21:08:33 -07:00
2018-11-26 15:03:13 -06:00
2019-06-17 19:34:47 +03:00
2019-05-27 13:58:38 +10: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: