aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_expand/src/name.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-12-21 12:37:41 +0000
committerGitHub <[email protected]>2019-12-21 12:37:41 +0000
commita1f4c988e47b7160b11070d18f50657b6fb9014c (patch)
tree9ad1ac2391cf6c16257cbbd5da645bfbbd7be374 /crates/ra_hir_expand/src/name.rs
parentcdc9d682b066b110e0a44e5f8f1c574b38c16ba9 (diff)
parent2058f704cb5045d0b19c299b1ebe0f261d153765 (diff)
Merge #2630
2630: Add dummy implementations of env! and option_env! builtins r=matklad a=flodiebold They don't do anything except return the correct type. Also refactor the builtin macro tests a bit. Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'crates/ra_hir_expand/src/name.rs')
-rw-r--r--crates/ra_hir_expand/src/name.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ra_hir_expand/src/name.rs b/crates/ra_hir_expand/src/name.rs
index fd02ffa4e..e62693b68 100644
--- a/crates/ra_hir_expand/src/name.rs
+++ b/crates/ra_hir_expand/src/name.rs
@@ -170,6 +170,8 @@ pub mod known {
170 stringify, 170 stringify,
171 format_args, 171 format_args,
172 format_args_nl, 172 format_args_nl,
173 env,
174 option_env,
173 // Builtin derives 175 // Builtin derives
174 Copy, 176 Copy,
175 Clone, 177 Clone,