diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-06-21 18:05:21 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-21 18:05:21 +0100 |
commit | f06ddbea6a038eb546d44cb71f2d4d9c055a8828 (patch) | |
tree | 9c39a29bdee4f45dcbd497c25350cbfbb0c5e9c3 /crates/ide/src | |
parent | 1b05dbba39d5a4d46f321dc962df99038cddbf21 (diff) | |
parent | ae823aa23f1c4fa55e71dd972d0b10c69148b0b4 (diff) |
Merge #9080
9080: Improve completion of cfg attributes r=JamieCunliffe a=JamieCunliffe
This will close #5398 and it also adds some completion for cfg options.
Co-authored-by: Jamie Cunliffe <[email protected]>
Diffstat (limited to 'crates/ide/src')
-rw-r--r-- | crates/ide/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ide/src/lib.rs b/crates/ide/src/lib.rs index 3798f32cc..aac084012 100644 --- a/crates/ide/src/lib.rs +++ b/crates/ide/src/lib.rs | |||
@@ -217,6 +217,7 @@ impl Analysis { | |||
217 | file_id, | 217 | file_id, |
218 | Edition::Edition2018, | 218 | Edition::Edition2018, |
219 | None, | 219 | None, |
220 | cfg_options.clone(), | ||
220 | cfg_options, | 221 | cfg_options, |
221 | Env::default(), | 222 | Env::default(), |
222 | Default::default(), | 223 | Default::default(), |