Files
rust/src/libsyntax
kennytm 8601c79aff Rollup merge of #59169 - tmandry:allow-features-flag, r=cramertj
Add `-Z allow_features=...` flag

Adds a compiler option to allow only whitelisted features.

For projects on nightly that want to prevent feature-creep (and maybe, someday, move off of nightly). Not being able to enforce this has been a problem on Fuchsia and at other big companies.

This doesn't support filtering edition feature flags, but someone is welcome to add that if they need it.
2019-03-16 22:40:33 +08:00
..
2019-03-02 15:03:09 +00:00
2019-02-10 23:42:32 +00:00
2018-12-25 21:08:33 -07:00
2019-02-26 09:54:45 +01:00
2019-03-14 15:42:20 -07:00
2019-02-07 02:33:01 +09:00
2019-03-09 18:23:17 +09:00
2018-11-26 15:03:13 -06:00
2019-03-07 11:15:47 -08:00
2019-02-13 00:31:51 +09: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: