diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-03-07 05:04:36 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-07 05:04:36 +0000 |
commit | 8218494b530be43e4baa045176a3e8b6ad0558fa (patch) | |
tree | 7b9a9b39256f829f7f2eb1961ed880833f0367d6 /crates/ra_ide_db/src/search.rs | |
parent | 48bb1c51721b7736b6d6f2e5cb82126c91934433 (diff) | |
parent | 2e178b5475b156e1876e4e6971c0abd3bdf6c889 (diff) |
Merge #3508
3508: Use a not so dummy implementation of env macro r=edwin0cheng a=edwin0cheng
Currently we have a dummy `env` macro implementation which expand to an empty string, such that a `include!(concat!(env!("OUT_DIR"), "/foo.rs"))` will become `include!("/foo.rs")`, and here may be a infinite loop. :)
This PR use a not so dummy version of `env` macro to prevent this infinite loop.
Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'crates/ra_ide_db/src/search.rs')
0 files changed, 0 insertions, 0 deletions