diff options
| author | Aleksey Kladov <aleksey.kladov@gmail.com> | 2020-08-29 12:10:16 +0200 |
|---|---|---|
| committer | Aleksey Kladov <aleksey.kladov@gmail.com> | 2020-08-30 19:53:36 +0200 |
| commit | ccffea5b6b3372cefd4e15bc738a2669bc6f69a0 (patch) | |
| tree | 161f0e5bad86487777bf89507534de16d17cb157 /compiler/rustc_expand/src/lib.rs | |
| parent | 85fbf49ce0e2274d0acf798f6e703747674feec3 (diff) | |
| download | rust-ccffea5b6b3372cefd4e15bc738a2669bc6f69a0.tar.gz rust-ccffea5b6b3372cefd4e15bc738a2669bc6f69a0.zip | |
Move lexer unit tests to rustc_lexer
StringReader is an intornal abstraction which at the moment changes a lot, so these unit tests cause quite a bit of friction. Moving them to rustc_lexer and more ingerated-testing style should make them much less annoying, hopefully without decreasing their usefulness much. Note that coloncolon tests are removed (it's unclear what those are testing). \r\n tests are removed as well, as we normalize line endings even before lexing.
Diffstat (limited to 'compiler/rustc_expand/src/lib.rs')
| -rw-r--r-- | compiler/rustc_expand/src/lib.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_expand/src/lib.rs b/compiler/rustc_expand/src/lib.rs index 7f631cb71af..5436b1ef737 100644 --- a/compiler/rustc_expand/src/lib.rs +++ b/compiler/rustc_expand/src/lib.rs @@ -39,11 +39,6 @@ mod tests; mod parse { #[cfg(test)] mod tests; - #[cfg(test)] - mod lexer { - #[cfg(test)] - mod tests; - } } #[cfg(test)] mod tokenstream { |
