aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/nameres
diff options
context:
space:
mode:
authoruHOOCCOOHu <[email protected]>2019-10-02 18:20:08 +0100
committeruHOOCCOOHu <[email protected]>2019-10-02 19:28:02 +0100
commit43f09ad36ccc1c53c78a66274693e53161c9b2fa (patch)
treea7fca4f85579ed6881ffc697b77a47347dd09b4b /crates/ra_hir/src/nameres
parenta49ad47e5afa5950f92b77badc6679295101328a (diff)
Refactor CfgOptions inside
Diffstat (limited to 'crates/ra_hir/src/nameres')
-rw-r--r--crates/ra_hir/src/nameres/tests.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_hir/src/nameres/tests.rs b/crates/ra_hir/src/nameres/tests.rs
index f43767e59..34dd79574 100644
--- a/crates/ra_hir/src/nameres/tests.rs
+++ b/crates/ra_hir/src/nameres/tests.rs
@@ -563,9 +563,9 @@ fn cfg_test() {
563 "main": ("/main.rs", ["std"]), 563 "main": ("/main.rs", ["std"]),
564 "std": ("/lib.rs", [], CfgOptions::default() 564 "std": ("/lib.rs", [], CfgOptions::default()
565 .atom("test".into()) 565 .atom("test".into())
566 .feature("foo".into()) 566 .key_value("feature".into(), "foo".into())
567 .feature("bar".into()) 567 .key_value("feature".into(), "bar".into())
568 .option("opt".into(), "42".into()) 568 .key_value("opt".into(), "42".into())
569 ), 569 ),
570 }, 570 },
571 ); 571 );