diff options
author | Aaron Wood <[email protected]> | 2020-05-09 00:59:52 +0100 |
---|---|---|
committer | Aaron Wood <[email protected]> | 2020-05-09 00:59:52 +0100 |
commit | beb79ed104c686d8704eb7042318eefea78770df (patch) | |
tree | 7395959cc669503894600407f38b381616045943 /crates/ra_proc_macro_srv/src/proc_macro/diagnostic.rs | |
parent | a5f2b16366f027ad60c58266a66eb7fbdcbda9f9 (diff) |
Begin transition to new fields for JsonProject crate cfgs
This starts the transition to a new method of documenting the cfgs that are
enabled for a given crate in the json file. This is changing from a list
of atoms and a dict of key:value pairs, to a list of strings that is
equivalent to that returned by `rustc --print cfg ..`, and parsed in the
same manner by rust-analyzer.
This is the first of two changes, which adds the new field that contains
the list of strings. Next change will complete the transition and remove
the previous fields.
Diffstat (limited to 'crates/ra_proc_macro_srv/src/proc_macro/diagnostic.rs')
0 files changed, 0 insertions, 0 deletions