aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_expand
diff options
context:
space:
mode:
authorEdwin Cheng <[email protected]>2020-03-07 04:53:40 +0000
committerEdwin Cheng <[email protected]>2020-03-07 04:53:40 +0000
commit36c768468729653079ed5c00e759bd12cd02e241 (patch)
tree2ff86b86deec88a48084e8e8fa158afc02ae46a2 /crates/ra_hir_expand
parent48bb1c51721b7736b6d6f2e5cb82126c91934433 (diff)
Use a not so dummy implementation of env macro
Diffstat (limited to 'crates/ra_hir_expand')
-rw-r--r--crates/ra_hir_expand/src/builtin_macro.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir_expand/src/builtin_macro.rs b/crates/ra_hir_expand/src/builtin_macro.rs
index 9fc33e4b1..51d54331e 100644
--- a/crates/ra_hir_expand/src/builtin_macro.rs
+++ b/crates/ra_hir_expand/src/builtin_macro.rs
@@ -142,7 +142,7 @@ fn env_expand(
142 _tt: &tt::Subtree, 142 _tt: &tt::Subtree,
143) -> Result<tt::Subtree, mbe::ExpandError> { 143) -> Result<tt::Subtree, mbe::ExpandError> {
144 // dummy implementation for type-checking purposes 144 // dummy implementation for type-checking purposes
145 let expanded = quote! { "" }; 145 let expanded = quote! { "__RA_UNIMPLEMENTATED__" };
146 146
147 Ok(expanded) 147 Ok(expanded)
148} 148}