diff options
author | Jade <[email protected]> | 2021-06-12 13:16:22 +0100 |
---|---|---|
committer | Jade <[email protected]> | 2021-06-19 09:09:19 +0100 |
commit | 1f6abb7fbae35dbd036032a6ea2a9e04307f1f55 (patch) | |
tree | c49a07d81e3cc3a6ea6ca3c57fd364492475c49b /crates/syntax/test_data/lexer/err/0056_empty_exponent.txt | |
parent | 0d3bad85e60d011b35da0a8e5dd6611934f6816d (diff) |
Fix libcore not being included in rust-lang/rust module tree
If you are opening libcore from rust-lang/rust as opposed to e.g.
goto definition from some other crate which would use the sysroot
instance of libcore, a `#![cfg(not(test))]` would previously have made
all the code excluded from the module tree, breaking the editor
experience.
This puts in a slight hack that checks for the crate name "core" and
turns off `#[cfg(test)]`.
Diffstat (limited to 'crates/syntax/test_data/lexer/err/0056_empty_exponent.txt')
0 files changed, 0 insertions, 0 deletions